Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002128/0.002127, allocations: 105.3 kB / 16.4 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 186.8 kB / 17.34 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2058/0.2058, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 67.91 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1115, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.01935/0.1309, allocations: 18.6 MB / 0.5056 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01393/0.1448, allocations: 5.355 MB / 0.5108 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004311/0.1492, allocations: 111.7 kB / 0.5109 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006566/0.1558, allocations: 3.064 MB / 0.5139 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008761/0.1647, allocations: 2.622 MB / 0.5165 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00315/0.1679, allocations: 1.022 MB / 0.5175 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0118/0.1797, allocations: 7.422 MB / 0.5247 GB, free: 5.965 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007338/0.187, allocations: 4.25 MB / 0.5289 GB, free: 1.652 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2977/0.4848, allocations: 2.302 MB / 0.5311 GB, free: 8.797 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00623/0.4911, allocations: 3.281 MB / 0.5343 GB, free: 8.797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00147/0.4926, allocations: 460.3 kB / 0.5348 GB, free: 8.797 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003616/0.4962, allocations: 1.301 MB / 0.536 GB, free: 8.797 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004509/0.5007, allocations: 2.892 MB / 0.5388 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006605/0.5073, allocations: 3.307 MB / 0.5421 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01353/0.5209, allocations: 10.27 MB / 0.5521 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.5209, allocations: 3.406 kB / 0.5521 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5209, allocations: 0 / 0.5521 GB, free: 5.781 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003701/0.5213, allocations: 0 / 0.5521 GB, free: 5.781 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.0184/0.5397, allocations: 7.47 MB / 0.5594 GB, free: 2.457 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.5398, allocations: 15.7 kB / 0.5594 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002087/0.5419, allocations: 1.029 MB / 0.5604 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03911/0.581, allocations: 5.612 MB / 0.5659 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01599/0.597, allocations: 5.925 MB / 0.5717 GB, free: 12.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005469/0.5976, allocations: 326.1 kB / 0.572 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0038/0.6015, allocations: 441.7 kB / 0.5724 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04819/0.6497, allocations: 15.73 MB / 0.5878 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000496/0.6502, allocations: 55.69 kB / 0.5878 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002921/0.6532, allocations: 201.2 kB / 0.588 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009781/0.663, allocations: 3.473 MB / 0.5914 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04119/0.7042, allocations: 14.79 MB / 0.6059 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1159/0.8201, allocations: 55.64 MB / 0.6602 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01955/0.8398, allocations: 8.147 MB / 0.6682 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007036/0.8468, allocations: 4.776 MB / 0.6728 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002176/0.849, allocations: 2.207 MB / 0.675 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.417e-05/0.8491, allocations: 69.08 kB / 0.675 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=367): time 1.024e-05/0.8492, allocations: 0 / 0.675 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of matching and sorting (n=419): time 0.1241/0.9733, allocations: 39.8 MB / 0.7139 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.9735, allocations: 124 kB / 0.714 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01132/0.9848, allocations: 4.401 MB / 0.7183 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001411/0.9862, allocations: 88.36 kB / 0.7184 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00384/0.9901, allocations: 3.899 MB / 0.7222 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002906/0.993, allocations: 1.488 MB / 0.7237 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006049/0.9991, allocations: 1.533 MB / 0.7252 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.9993, allocations: 305.1 kB / 0.7255 GB, free: 308 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007413/1.007, allocations: 3.958 MB / 0.7293 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01054/1.017, allocations: 7.756 MB / 0.7369 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01885/1.036, allocations: 12.74 MB / 0.7493 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001528/1.036, allocations: 36 kB / 0.7494 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1017) (initialization): time 0.2807/1.317, allocations: 14.24 MB / 0.7633 GB, free: 202.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/1.317, allocations: 61 kB / 0.7633 GB, free: 202.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002112/1.317, allocations: 129.5 kB / 0.7635 GB, free: 202.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008769/1.326, allocations: 2.676 MB / 0.7661 GB, free: 202.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007004/1.333, allocations: 1.78 MB / 0.7678 GB, free: 202.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01822/1.351, allocations: 15.22 MB / 0.7827 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006709/1.358, allocations: 493.9 kB / 0.7832 GB, free: 196 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001782/1.36, allocations: 428.3 kB / 0.7836 GB, free: 196 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 592 * Number of states: 0 () * Number of discrete variables: 48 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[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 (920): * Single equations (assignments): 912 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006851/1.367, allocations: 2.918 MB / 0.7864 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001339/1.368, allocations: 467.7 kB / 0.7869 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.018/1.386, allocations: 10.57 MB / 0.7972 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.954e-05/1.386, allocations: 62.67 kB / 0.7972 GB, free: 190.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.295e-05/1.386, allocations: 11.94 kB / 0.7972 GB, free: 190.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.244e-05/1.386, allocations: 22.28 kB / 0.7973 GB, free: 190.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.049/1.435, allocations: 21.31 MB / 0.8181 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.172e-05/1.436, allocations: 16.03 kB / 0.8181 GB, free: 169.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005126/1.441, allocations: 0.6825 MB / 0.8188 GB, free: 168.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01055/1.451, allocations: 2.492 MB / 0.8212 GB, free: 166.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001174/1.452, allocations: 83.98 kB / 0.8213 GB, free: 166.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02082/1.473, allocations: 13.81 MB / 0.8348 GB, free: 152.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/1.473, allocations: 19.88 kB / 0.8348 GB, free: 152.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02211/1.495, allocations: 15.12 MB / 0.8495 GB, free: 136.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003439/1.499, allocations: 1.164 MB / 0.8507 GB, free: 135.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001703/1.501, allocations: 81 kB / 0.8508 GB, free: 135.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003673/1.504, allocations: 305.1 kB / 0.8511 GB, free: 135.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009603/1.505, allocations: 265.9 kB / 0.8513 GB, free: 135 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005099/1.506, allocations: 116.7 kB / 0.8514 GB, free: 134.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005456/1.511, allocations: 2.771 MB / 0.8541 GB, free: 132.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.21e-07/1.511, allocations: 384 / 0.8541 GB, free: 132.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007602/1.519, allocations: 1.657 MB / 0.8557 GB, free: 130.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * 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 (334): * Single equations (assignments): 326 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (6,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02272/1.542, allocations: 15.83 MB / 0.8712 GB, free: 114.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01594/1.558, allocations: 9.893 MB / 0.8809 GB, free: 104.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-05/1.558, allocations: 0 / 0.8809 GB, free: 104.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006453/1.564, allocations: 4.303 MB / 0.8851 GB, free: 100.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006848/1.571, allocations: 0.7351 MB / 0.8858 GB, free: 99.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1101/1.681, allocations: 70.93 MB / 0.955 GB, free: 22.36 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009082/1.69, allocations: 4.613 MB / 0.9595 GB, free: 17.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007297/1.698, allocations: 2.744 MB / 0.9622 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005334/1.703, allocations: 2.909 MB / 0.9651 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of SimCode: time 1.412e-06/1.703, allocations: 0 / 0.9651 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4539/2.157, allocations: 116 MB / 1.078 GB, free: 123.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.4/22.55, allocations: 19.78 kB / 1.078 GB, free: 123.8 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches