Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00143/0.00143, allocations: 117.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001628/0.001628, allocations: 204.6 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2111/0.2111, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001515, allocations: 75.88 kB / 480.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3243, allocations: 62.42 MB / 0.5305 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.01283/0.3372, allocations: 12.65 MB / 0.5429 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008555/0.3458, allocations: 4.066 MB / 0.5468 GB, free: 388 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002403/0.3482, allocations: 69.66 kB / 0.5469 GB, free: 376 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004124/0.3524, allocations: 1.827 MB / 0.5487 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005222/0.3577, allocations: 1.763 MB / 0.5504 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.3595, allocations: 495 kB / 0.5509 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00534/0.3648, allocations: 3.783 MB / 0.5546 GB, free: 9.117 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003588/0.3684, allocations: 2.852 MB / 0.5574 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002174/0.3706, allocations: 1.347 MB / 0.5587 GB, free: 4.855 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00247/0.3731, allocations: 1.869 MB / 0.5605 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006601/0.3738, allocations: 283.9 kB / 0.5608 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002106/0.3759, allocations: 1.1 MB / 0.5618 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0016/0.3775, allocations: 1.741 MB / 0.5635 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002295/0.3799, allocations: 2.061 MB / 0.5656 GB, free: 13.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007234/0.3871, allocations: 6.886 MB / 0.5723 GB, free: 6.871 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.3872, allocations: 0 / 0.5723 GB, free: 6.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3872, allocations: 0 / 0.5723 GB, free: 6.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001791/0.3874, allocations: 0 / 0.5723 GB, free: 6.871 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1622 * Number of variables: 1622 Notification: Performance of Generate backend data structure: time 0.01138/0.3987, allocations: 4.785 MB / 0.577 GB, free: 2.016 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.3988, allocations: 12.03 kB / 0.577 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001379/0.4002, allocations: 0.7536 MB / 0.5777 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/0.4114, allocations: 3.126 MB / 0.5808 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00592/0.4174, allocations: 2.271 MB / 0.583 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/0.4176, allocations: 217.7 kB / 0.5832 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001022/0.4187, allocations: 287.7 kB / 0.5835 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01661/0.4353, allocations: 10.96 MB / 0.5942 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001045/0.4354, allocations: 31.7 kB / 0.5942 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006859/0.4361, allocations: 131.8 kB / 0.5943 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003893/0.44, allocations: 2.503 MB / 0.5968 GB, free: 13.22 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01935/0.4594, allocations: 10.29 MB / 0.6068 GB, free: 2.91 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05444/0.5139, allocations: 34.87 MB / 0.6409 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007946/0.5219, allocations: 4.297 MB / 0.6451 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002984/0.5249, allocations: 2.118 MB / 0.6471 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001332/0.5262, allocations: 1.311 MB / 0.6484 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.496e-05/0.5263, allocations: 52.56 kB / 0.6485 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=235): time 5.831e-06/0.5263, allocations: 0 / 0.6485 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of matching and sorting (n=256): time 0.04026/0.5666, allocations: 13.64 MB / 0.6618 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.5667, allocations: 77.39 kB / 0.6618 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003953/0.5707, allocations: 2.758 MB / 0.6645 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002699/0.5709, allocations: 57.7 kB / 0.6646 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001848/0.5728, allocations: 2.825 MB / 0.6673 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001046/0.5739, allocations: 0.9444 MB / 0.6683 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001821/0.5757, allocations: 1.127 MB / 0.6694 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.503e-05/0.5758, allocations: 309.1 kB / 0.6697 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003254/0.5791, allocations: 2.299 MB / 0.6719 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005077/0.5841, allocations: 5.387 MB / 0.6772 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009107/0.5933, allocations: 8.446 MB / 0.6854 GB, free: 13.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.903e-05/0.5934, allocations: 32 kB / 0.6855 GB, free: 13.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01458/0.608, allocations: 8.405 MB / 0.6937 GB, free: 5.488 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.6081, allocations: 54.12 kB / 0.6937 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001398/0.6082, allocations: 108 kB / 0.6938 GB, free: 5.332 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003779/0.612, allocations: 1.04 MB / 0.6948 GB, free: 4.281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004222/0.6163, allocations: 1.291 MB / 0.6961 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003217/0.6195, allocations: 2.596 MB / 0.6986 GB, free: 248 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003683/0.6232, allocations: 303.8 kB / 0.6989 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000806/0.624, allocations: 323.9 kB / 0.6992 GB, free: 15.63 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 489 * Number of states: 0 () * Number of discrete variables: 26 (freeMotionScalarInit.arrow.arrow.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (701): * Single equations (assignments): 692 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00499/0.629, allocations: 2.189 MB / 0.7014 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00077/0.6298, allocations: 284.3 kB / 0.7016 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/0.6401, allocations: 4.955 MB / 0.7065 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.768e-05/0.6403, allocations: 47.97 kB / 0.7065 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-05/0.6403, allocations: 7.938 kB / 0.7065 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.991e-05/0.6403, allocations: 11.95 kB / 0.7065 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02636/0.6667, allocations: 11.21 MB / 0.7175 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-05/0.6668, allocations: 8 kB / 0.7175 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002049/0.6688, allocations: 407.3 kB / 0.7179 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00364/0.6725, allocations: 0.9074 MB / 0.7188 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005215/0.6731, allocations: 51.98 kB / 0.7188 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002829/0.6759, allocations: 2.422 MB / 0.7212 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/0.6759, allocations: 11.94 kB / 0.7212 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/0.6895, allocations: 7.373 MB / 0.7284 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009353/0.6904, allocations: 317.5 kB / 0.7287 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009217/0.6914, allocations: 55.91 kB / 0.7287 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00199/0.6934, allocations: 139.8 kB / 0.7289 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005763/0.694, allocations: 145.7 kB / 0.729 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003571/0.6944, allocations: 79.91 kB / 0.7291 GB, free: 444 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.2792/0.9736, allocations: 1.684 MB / 0.7307 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.82e-07/0.9736, allocations: 2.844 kB / 0.7307 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00477/0.9784, allocations: 0.9543 MB / 0.7317 GB, free: 176.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 197 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01178/0.9902, allocations: 8.027 MB / 0.7395 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009031/0.9993, allocations: 6.08 MB / 0.7454 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/0.9993, allocations: 0 / 0.7454 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003715/1.003, allocations: 2.571 MB / 0.748 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/1.005, allocations: 462.8 kB / 0.7484 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04792/1.053, allocations: 42.68 MB / 0.7901 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002834/1.056, allocations: 3.383 MB / 0.7934 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003393/1.06, allocations: 2.038 MB / 0.7954 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001868/1.062, allocations: 1.858 MB / 0.7972 GB, free: 120.9 MB / 0.5762 GB Notification: Performance of SimCode: time 8.41e-07/1.062, allocations: 0 / 0.7972 GB, free: 120.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08307/1.145, allocations: 59.33 MB / 0.8551 GB, free: 61.87 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.64/17.79, allocations: 15.73 kB / 0.8551 GB, free: 61.86 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit/FreeMotionScalarInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches