Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 118.9 kB / 17.83 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 203 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 207.6 MB / 231.2 MB, free: 4.133 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3611/0.3611, allocations: 44.24 MB / 327.3 MB, free: 7.113 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003164/0.003164, allocations: 71.84 kB / 462.9 MB, free: 1.047 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.349, allocations: 60.99 MB / 0.5116 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008045/0.3571, allocations: 7.551 MB / 0.519 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006721/0.3638, allocations: 3.365 MB / 0.5223 GB, free: 4.066 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001876/0.3657, allocations: 35.88 kB / 0.5223 GB, free: 4.031 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00215/0.3678, allocations: 0.8131 MB / 0.5231 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004876/0.3727, allocations: 1.339 MB / 0.5244 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001998/0.3747, allocations: 0.5301 MB / 0.5249 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004705/0.3794, allocations: 2.58 MB / 0.5274 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002539/0.3819, allocations: 1.108 MB / 0.5285 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002234/0.3842, allocations: 0.8017 MB / 0.5293 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002612/0.3868, allocations: 1.238 MB / 0.5305 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007285/0.3875, allocations: 140 kB / 0.5307 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002831/0.3903, allocations: 0.9633 MB / 0.5316 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001793/0.3921, allocations: 1.051 MB / 0.5326 GB, free: 9.422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002973/0.3951, allocations: 1.23 MB / 0.5338 GB, free: 8.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008248/0.4033, allocations: 4.098 MB / 0.5378 GB, free: 4.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.4033, allocations: 7.938 kB / 0.5378 GB, free: 4.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.987e-06/0.4034, allocations: 0 / 0.5378 GB, free: 4.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002498/0.4036, allocations: 0 / 0.5378 GB, free: 4.066 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.01149/0.4151, allocations: 3.061 MB / 0.5408 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.04e-05/0.4152, allocations: 15.89 kB / 0.5408 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001602/0.4153, allocations: 55.31 kB / 0.5409 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001509/0.4168, allocations: 462.5 kB / 0.5413 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007202/0.424, allocations: 1.676 MB / 0.543 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004886/0.4289, allocations: 1.808 MB / 0.5447 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.4291, allocations: 123.1 kB / 0.5448 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008962/0.43, allocations: 163.9 kB / 0.545 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01198/0.442, allocations: 6.46 MB / 0.5513 GB, free: 5.605 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.715e-05/0.4421, allocations: 27.75 kB / 0.5513 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002576/0.4423, allocations: 91.81 kB / 0.5514 GB, free: 5.488 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002785/0.4451, allocations: 1.441 MB / 0.5528 GB, free: 4.043 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01278/0.4579, allocations: 5.724 MB / 0.5584 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0369/0.4948, allocations: 26.78 MB / 0.5846 GB, free: 2.684 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004667/0.4994, allocations: 2.067 MB / 0.5866 GB, free: 480 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/0.5009, allocations: 0.9604 MB / 0.5875 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002251/0.5011, allocations: 174.5 kB / 0.5877 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.5012, allocations: 54.81 kB / 0.5878 GB, free: 15.23 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 3.787e-06/0.5012, allocations: 0 / 0.5878 GB, free: 15.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01896/0.5202, allocations: 6.561 MB / 0.5942 GB, free: 8.652 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.5203, allocations: 140.9 kB / 0.5943 GB, free: 8.484 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005095/0.5254, allocations: 2.923 MB / 0.5971 GB, free: 5.551 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002457/0.5256, allocations: 41.7 kB / 0.5972 GB, free: 5.504 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002101/0.5277, allocations: 2.202 MB / 0.5993 GB, free: 3.281 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007062/0.5284, allocations: 472.5 kB / 0.5998 GB, free: 2.816 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001442/0.5299, allocations: 0.9011 MB / 0.6007 GB, free: 1.902 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.53, allocations: 301.1 kB / 0.601 GB, free: 1.605 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00255/0.5326, allocations: 1.418 MB / 0.6023 GB, free: 184 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005628/0.5382, allocations: 4.287 MB / 0.6065 GB, free: 10.44 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009864/0.5481, allocations: 6.191 MB / 0.6126 GB, free: 2.816 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001075/0.5482, allocations: 32 kB / 0.6126 GB, free: 2.785 MB / 478.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01193/0.5601, allocations: 5.497 MB / 0.618 GB, free: 13.28 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.107e-05/0.5602, allocations: 55.97 kB / 0.618 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001445/0.5603, allocations: 100 kB / 0.6181 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001609/0.5605, allocations: 139.9 kB / 0.6183 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00456/0.5651, allocations: 1.22 MB / 0.6194 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000204/0.5653, allocations: 199.2 kB / 0.6196 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00349/0.5687, allocations: 243.7 kB / 0.6199 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005305/0.5693, allocations: 284 kB / 0.6201 GB, free: 11.06 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (553): * Single equations (assignments): 550 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0025/0.5718, allocations: 1.384 MB / 0.6215 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006387/0.5724, allocations: 254.3 kB / 0.6217 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002661/0.5751, allocations: 1.242 MB / 0.6229 GB, free: 8.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.166e-05/0.5751, allocations: 15.94 kB / 0.623 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.216e-05/0.5752, allocations: 4 kB / 0.623 GB, free: 8.141 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.5752, allocations: 3.984 kB / 0.623 GB, free: 8.137 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/0.5857, allocations: 4.563 MB / 0.6274 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.539e-05/0.5858, allocations: 4 kB / 0.6274 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/0.5878, allocations: 371.8 kB / 0.6278 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.646e-05/0.5878, allocations: 12 kB / 0.6278 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.695e-05/0.5879, allocations: 19.98 kB / 0.6278 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.517e-05/0.5879, allocations: 15.94 kB / 0.6278 GB, free: 3.043 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.588, allocations: 4 kB / 0.6278 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003555/0.5915, allocations: 2.178 MB / 0.63 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/0.5927, allocations: 483 kB / 0.6304 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002873/0.593, allocations: 16 kB / 0.6304 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.594, allocations: 63.92 kB / 0.6305 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.5941, allocations: 63.8 kB / 0.6306 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.5942, allocations: 36 kB / 0.6306 GB, free: 132 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003547/0.5978, allocations: 1.839 MB / 0.6324 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5978, allocations: 0 / 0.6324 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004381/0.6022, allocations: 0.6288 MB / 0.633 GB, free: 13.66 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * 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 (90): * Single equations (assignments): 87 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004098/0.6063, allocations: 2.806 MB / 0.6357 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006762/0.613, allocations: 3.142 MB / 0.6388 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.613, allocations: 0.8125 kB / 0.6388 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.6143, allocations: 0.7482 MB / 0.6395 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/0.6166, allocations: 274.5 kB / 0.6398 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3136/0.9302, allocations: 29.91 MB / 0.669 GB, free: 106.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001746/0.9319, allocations: 2.217 MB / 0.6712 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002692/0.9346, allocations: 1.464 MB / 0.6726 GB, free: 104.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/0.9358, allocations: 1.085 MB / 0.6737 GB, free: 103.5 MB / 0.4981 GB Notification: Performance of SimCode: time 8.92e-07/0.9358, allocations: 0 / 0.6737 GB, free: 103.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06484/1.001, allocations: 41.74 MB / 0.7144 GB, free: 61.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.91/18.91, allocations: 15.94 kB / 0.7144 GB, free: 61.78 MB / 0.4981 GB " [Timeout remaining time 641] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.565360197040718]