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.001409/0.001409, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.001492/0.001492, allocations: 214 kB / 23.78 MB, free: 4.523 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.432/1.432, allocations: 207.7 MB / 234.6 MB, free: 9.785 MB / 190.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.2275/0.2275, allocations: 44.27 MB / 331.1 MB, free: 9.398 MB / 270.1 MB " [Timeout remaining time 179] 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.003282/0.003282, allocations: 67.89 kB / 468.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1511, allocations: 61.04 MB / 0.5169 GB, free: 7.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009558/0.1606, allocations: 6.677 MB / 0.5234 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007242/0.1679, allocations: 3.143 MB / 0.5265 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.169, allocations: 39.81 kB / 0.5265 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.1711, allocations: 0.7975 MB / 0.5273 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003577/0.1746, allocations: 1.351 MB / 0.5286 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.176, allocations: 0.534 MB / 0.5291 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00397/0.18, allocations: 2.586 MB / 0.5317 GB, free: 8.035 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001858/0.1819, allocations: 1.158 MB / 0.5328 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.1831, allocations: 0.8056 MB / 0.5336 GB, free: 6.055 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001794/0.1849, allocations: 1.238 MB / 0.5348 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003214/0.1852, allocations: 140 kB / 0.5349 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.1869, allocations: 0.8502 MB / 0.5358 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001084/0.1879, allocations: 1.051 MB / 0.5368 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.189, allocations: 0.8924 MB / 0.5377 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.22/0.4089, allocations: 4.099 MB / 0.5417 GB, free: 14.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.4089, allocations: 0 / 0.5417 GB, free: 14.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.4089, allocations: 0.5156 kB / 0.5417 GB, free: 14.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001414/0.4091, allocations: 1.406 kB / 0.5417 GB, free: 14.74 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: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.006626/0.4157, allocations: 2.979 MB / 0.5446 GB, free: 13.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.4158, allocations: 11.52 kB / 0.5446 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001/0.4159, allocations: 61.91 kB / 0.5446 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006179/0.4165, allocations: 467.6 kB / 0.5451 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006519/0.423, allocations: 1.668 MB / 0.5467 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004475/0.4275, allocations: 1.765 MB / 0.5484 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/0.4276, allocations: 122.1 kB / 0.5486 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004378/0.4281, allocations: 167 kB / 0.5487 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0118/0.4399, allocations: 6.451 MB / 0.555 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.11e-05/0.44, allocations: 35.91 kB / 0.555 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002765/0.4402, allocations: 88.78 kB / 0.5551 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00263/0.4429, allocations: 1.439 MB / 0.5565 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01231/0.4552, allocations: 5.732 MB / 0.5621 GB, free: 9.207 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03171/0.4869, allocations: 25.8 MB / 0.5873 GB, free: 5.746 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004349/0.4912, allocations: 1.617 MB / 0.5889 GB, free: 4.949 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001449/0.4927, allocations: 0.9636 MB / 0.5898 GB, free: 4.453 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.4928, allocations: 21.92 kB / 0.5899 GB, free: 4.449 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.4928, allocations: 45.45 kB / 0.5899 GB, free: 4.402 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 4.228e-06/0.4929, allocations: 0 / 0.5899 GB, free: 4.402 MB / 430.1 MB Notification: Performance of matching and sorting (n=112): time 0.01745/0.5103, allocations: 6.598 MB / 0.5964 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.5104, allocations: 144.9 kB / 0.5965 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004596/0.515, allocations: 2.924 MB / 0.5993 GB, free: 13.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002998/0.5153, allocations: 37.7 kB / 0.5994 GB, free: 13.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001812/0.5171, allocations: 2.205 MB / 0.6015 GB, free: 11.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005568/0.5177, allocations: 473.5 kB / 0.602 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00129/0.519, allocations: 0.8963 MB / 0.6029 GB, free: 9.977 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5191, allocations: 301.1 kB / 0.6031 GB, free: 9.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002363/0.5215, allocations: 1.422 MB / 0.6045 GB, free: 8.254 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005242/0.5267, allocations: 4.29 MB / 0.6087 GB, free: 2.562 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007973/0.5347, allocations: 6.188 MB / 0.6148 GB, free: 11.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.376e-05/0.5347, allocations: 28 kB / 0.6148 GB, free: 11.33 MB / 462.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.00983/0.5446, allocations: 5.511 MB / 0.6202 GB, free: 5.891 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.878e-05/0.5447, allocations: 48 kB / 0.6202 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001179/0.5448, allocations: 106.2 kB / 0.6203 GB, free: 5.742 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001523/0.5449, allocations: 132 kB / 0.6205 GB, free: 5.613 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004115/0.549, allocations: 1.216 MB / 0.6216 GB, free: 4.395 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001722/0.5492, allocations: 203.2 kB / 0.6218 GB, free: 4.195 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002855/0.5521, allocations: 240.7 kB / 0.6221 GB, free: 3.961 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004055/0.5525, allocations: 287.2 kB / 0.6223 GB, free: 3.684 MB / 462.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.00219/0.5547, allocations: 1.381 MB / 0.6237 GB, free: 2.293 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004952/0.5552, allocations: 258.3 kB / 0.6239 GB, free: 2.039 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/0.5573, allocations: 1.246 MB / 0.6251 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.513e-05/0.5573, allocations: 12 kB / 0.6252 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.5573, allocations: 3.938 kB / 0.6252 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.5573, allocations: 12.38 kB / 0.6252 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008177/0.5655, allocations: 4.35 MB / 0.6294 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.5655, allocations: 4 kB / 0.6294 GB, free: 12.33 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001827/0.5674, allocations: 367.9 kB / 0.6298 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.489e-05/0.5674, allocations: 12 kB / 0.6298 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.389e-05/0.5675, allocations: 19.47 kB / 0.6298 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.867e-05/0.5675, allocations: 19.92 kB / 0.6298 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.5675, allocations: 4 kB / 0.6298 GB, free: 11.92 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003185/0.5707, allocations: 2.172 MB / 0.632 GB, free: 9.676 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/0.572, allocations: 398 kB / 0.6323 GB, free: 9.285 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000402/0.5724, allocations: 26.33 kB / 0.6324 GB, free: 9.262 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.5734, allocations: 55.94 kB / 0.6324 GB, free: 9.207 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.5736, allocations: 71.77 kB / 0.6325 GB, free: 9.137 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.5737, allocations: 39.98 kB / 0.6325 GB, free: 9.098 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003453/0.5772, allocations: 1.832 MB / 0.6343 GB, free: 7.262 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5772, allocations: 3.281 kB / 0.6343 GB, free: 7.262 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005124/0.5823, allocations: 0.6232 MB / 0.6349 GB, free: 6.641 MB / 478.1 MB 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.003638/0.5859, allocations: 2.812 MB / 0.6377 GB, free: 3.75 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005737/0.5917, allocations: 3.134 MB / 0.6407 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.5917, allocations: 4 kB / 0.6407 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.5928, allocations: 0.7476 MB / 0.6415 GB, free: 15.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/0.5948, allocations: 258.5 kB / 0.6417 GB, free: 15.65 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05558/0.6504, allocations: 29.91 MB / 0.6709 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002988/0.6534, allocations: 1.65 MB / 0.6725 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003741/0.6571, allocations: 1.454 MB / 0.6739 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002458/0.6596, allocations: 1.089 MB / 0.675 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of SimCode: time 1.773e-06/0.6596, allocations: 3.938 kB / 0.675 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09527/0.7548, allocations: 43.14 MB / 0.7171 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.94/21.69, allocations: 23.86 kB / 0.7172 GB, free: 14.34 MB / 0.5606 GB " [Timeout remaining time 638] (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: 25.207460099016316]