Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001729/0.001729, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002237/0.002237, allocations: 214.7 kB / 24.52 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 258.3 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2611/0.2611, allocations: 46.98 MB / 361.7 MB, free: 4.008 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_Rotational_TestMove",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_TestMove",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 59.91 kB / 0.4968 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3674, allocations: 66.04 MB / 0.5613 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008917/0.3763, allocations: 6.644 MB / 0.5678 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006437/0.3827, allocations: 3.148 MB / 0.5709 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008041/0.3835, allocations: 39.81 kB / 0.5709 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001961/0.3855, allocations: 0.7975 MB / 0.5717 GB, free: 9.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003982/0.3895, allocations: 1.327 MB / 0.573 GB, free: 8.199 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.3911, allocations: 0.5184 MB / 0.5735 GB, free: 7.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004293/0.3954, allocations: 2.606 MB / 0.5761 GB, free: 5.066 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001835/0.3972, allocations: 1.162 MB / 0.5772 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/0.3986, allocations: 0.7822 MB / 0.578 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.4006, allocations: 1.23 MB / 0.5792 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004606/0.401, allocations: 140 kB / 0.5793 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/0.4029, allocations: 0.8385 MB / 0.5801 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00122/0.4041, allocations: 1.032 MB / 0.5811 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.4053, allocations: 0.8728 MB / 0.582 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005085/0.4104, allocations: 4.053 MB / 0.5859 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.4104, allocations: 0 / 0.5859 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4104, allocations: 0 / 0.5859 GB, free: 10.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001071/0.4105, allocations: 4 kB / 0.5859 GB, free: 10.91 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: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.005979/0.4165, allocations: 2.947 MB / 0.5888 GB, free: 7.914 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.4165, allocations: 8.031 kB / 0.5888 GB, free: 7.906 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.969e-05/0.4166, allocations: 63.31 kB / 0.5889 GB, free: 7.844 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006457/0.4173, allocations: 458.5 kB / 0.5893 GB, free: 7.387 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006259/0.4235, allocations: 1.676 MB / 0.591 GB, free: 5.707 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003313/0.4268, allocations: 1.493 MB / 0.5924 GB, free: 4.184 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.427, allocations: 127.1 kB / 0.5925 GB, free: 4.059 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005017/0.4275, allocations: 167.8 kB / 0.5927 GB, free: 3.895 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0109/0.4384, allocations: 6.456 MB / 0.599 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.433e-05/0.4384, allocations: 27.75 kB / 0.599 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002685/0.4387, allocations: 83.89 kB / 0.5991 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002638/0.4413, allocations: 1.437 MB / 0.6005 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01084/0.4522, allocations: 5.736 MB / 0.6061 GB, free: 5.617 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03295/0.4851, allocations: 25.79 MB / 0.6313 GB, free: 10.97 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004464/0.4896, allocations: 1.623 MB / 0.6329 GB, free: 9.305 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/0.4911, allocations: 0.9527 MB / 0.6338 GB, free: 8.34 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.4912, allocations: 24.31 kB / 0.6338 GB, free: 8.316 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.4912, allocations: 43.05 kB / 0.6339 GB, free: 8.266 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.376e-06/0.4912, allocations: 0 / 0.6339 GB, free: 8.266 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01661/0.5078, allocations: 6.553 MB / 0.6403 GB, free: 1.695 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.687e-05/0.5079, allocations: 141 kB / 0.6404 GB, free: 1.527 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004104/0.512, allocations: 2.894 MB / 0.6432 GB, free: 14.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001858/0.5122, allocations: 45.56 kB / 0.6433 GB, free: 14.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001865/0.5141, allocations: 2.19 MB / 0.6454 GB, free: 12.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005435/0.5146, allocations: 476.5 kB / 0.6459 GB, free: 11.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001203/0.5158, allocations: 0.8973 MB / 0.6468 GB, free: 10.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.516, allocations: 309.1 kB / 0.647 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002237/0.5182, allocations: 1.414 MB / 0.6484 GB, free: 9.254 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006679/0.5249, allocations: 4.287 MB / 0.6526 GB, free: 3.516 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0117/0.5366, allocations: 6.2 MB / 0.6587 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00011/0.5367, allocations: 32 kB / 0.6587 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01538/0.5521, allocations: 5.485 MB / 0.6641 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.5522, allocations: 52 kB / 0.6641 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001684/0.5524, allocations: 100 kB / 0.6642 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002147/0.5526, allocations: 139.9 kB / 0.6643 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006844/0.5594, allocations: 1.229 MB / 0.6655 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002605/0.5597, allocations: 199.2 kB / 0.6657 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004836/0.5645, allocations: 239.7 kB / 0.666 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007579/0.5653, allocations: 284 kB / 0.6662 GB, free: 4.141 MB / 0.4981 GB 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.003055/0.5683, allocations: 1.376 MB / 0.6676 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006806/0.569, allocations: 250.3 kB / 0.6678 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003024/0.572, allocations: 1.249 MB / 0.669 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.357e-05/0.5721, allocations: 19.94 kB / 0.669 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.5721, allocations: 0 / 0.669 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.5721, allocations: 3.984 kB / 0.669 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/0.5839, allocations: 4.342 MB / 0.6733 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/0.5839, allocations: 4 kB / 0.6733 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002128/0.5861, allocations: 367.6 kB / 0.6736 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.343e-05/0.5861, allocations: 12 kB / 0.6737 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/0.5862, allocations: 27.92 kB / 0.6737 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.927e-05/0.5862, allocations: 15.92 kB / 0.6737 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.259e-05/0.5863, allocations: 15.94 kB / 0.6737 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003313/0.5896, allocations: 2.174 MB / 0.6758 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004938/0.5901, allocations: 242.1 kB / 0.6761 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002486/0.5903, allocations: 23.98 kB / 0.6761 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009092/0.5912, allocations: 55.94 kB / 0.6761 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.5914, allocations: 71.77 kB / 0.6762 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-05/0.5915, allocations: 35.98 kB / 0.6762 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002849/0.5943, allocations: 1.823 MB / 0.678 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5943, allocations: 0 / 0.678 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003134/0.5975, allocations: 0.6131 MB / 0.6786 GB, free: 7.246 MB / 0.5137 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.003354/0.6008, allocations: 2.794 MB / 0.6814 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005284/0.6061, allocations: 3.146 MB / 0.6844 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.6061, allocations: 4 kB / 0.6844 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.6072, allocations: 0.7296 MB / 0.6851 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/0.609, allocations: 273.7 kB / 0.6854 GB, free: 252 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04452/0.6535, allocations: 29.81 MB / 0.7145 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003498/0.657, allocations: 1.643 MB / 0.7161 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005789/0.6628, allocations: 1.466 MB / 0.7175 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002817/0.6656, allocations: 1.077 MB / 0.7186 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of SimCode: time 1.604e-06/0.6656, allocations: 0 / 0.7186 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3524/1.018, allocations: 42.93 MB / 0.7605 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.39/21.41, allocations: 4 kB / 0.7605 GB, free: 137.5 MB / 0.5606 GB " [Timeout remaining time 638] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.021999999997206]