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.00134/0.00134, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001489/0.001489, allocations: 206.4 kB / 23.72 MB, free: 4.414 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.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2308/0.2308, allocations: 46.96 MB / 360.9 MB, free: 4.031 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 67.89 kB / 0.4961 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3317, allocations: 66.03 MB / 0.5606 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008953/0.3407, allocations: 6.699 MB / 0.5671 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006332/0.347, allocations: 3.152 MB / 0.5702 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007761/0.3478, allocations: 39.81 kB / 0.5702 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001879/0.3497, allocations: 0.7936 MB / 0.571 GB, free: 9.523 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003379/0.3531, allocations: 1.327 MB / 0.5723 GB, free: 8.191 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.3545, allocations: 0.5184 MB / 0.5728 GB, free: 7.672 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003781/0.3583, allocations: 2.605 MB / 0.5753 GB, free: 5.062 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/0.3602, allocations: 1.15 MB / 0.5765 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.3615, allocations: 0.7861 MB / 0.5772 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001864/0.3633, allocations: 1.191 MB / 0.5784 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004563/0.3638, allocations: 144 kB / 0.5785 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/0.3657, allocations: 0.8268 MB / 0.5793 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001412/0.3671, allocations: 1.028 MB / 0.5803 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001346/0.3684, allocations: 0.869 MB / 0.5812 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00591/0.3743, allocations: 4.049 MB / 0.5851 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3743, allocations: 0 / 0.5851 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.3743, allocations: 0 / 0.5851 GB, free: 10.97 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001317/0.3745, allocations: 3.938 kB / 0.5852 GB, free: 10.97 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.007132/0.3816, allocations: 2.959 MB / 0.588 GB, free: 7.965 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.3817, allocations: 12.03 kB / 0.5881 GB, free: 7.953 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007311/0.3824, allocations: 458.5 kB / 0.5885 GB, free: 7.496 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006351/0.3887, allocations: 1.672 MB / 0.5901 GB, free: 5.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00496/0.3937, allocations: 1.497 MB / 0.5916 GB, free: 4.293 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/0.3939, allocations: 127.4 kB / 0.5917 GB, free: 4.168 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006649/0.3945, allocations: 163.8 kB / 0.5919 GB, free: 4.008 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01211/0.4067, allocations: 6.453 MB / 0.5982 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/0.4068, allocations: 39.73 kB / 0.5982 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003023/0.4071, allocations: 79.89 kB / 0.5983 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002855/0.4099, allocations: 1.441 MB / 0.5997 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01234/0.4223, allocations: 5.705 MB / 0.6053 GB, free: 5.758 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03649/0.4587, allocations: 25.79 MB / 0.6304 GB, free: 11.1 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00458/0.4633, allocations: 1.612 MB / 0.632 GB, free: 9.449 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/0.4649, allocations: 0.9605 MB / 0.633 GB, free: 8.477 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/0.4652, allocations: 20.31 kB / 0.633 GB, free: 8.457 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.4652, allocations: 50.83 kB / 0.633 GB, free: 8.398 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 4.257e-06/0.4652, allocations: 0 / 0.633 GB, free: 8.398 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01921/0.4844, allocations: 6.546 MB / 0.6394 GB, free: 1.836 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.4846, allocations: 140.9 kB / 0.6396 GB, free: 1.668 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005787/0.4903, allocations: 3.064 MB / 0.6425 GB, free: 14.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002618/0.4906, allocations: 41.7 kB / 0.6426 GB, free: 14.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002206/0.4928, allocations: 2.194 MB / 0.6447 GB, free: 12.33 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007909/0.4936, allocations: 476.5 kB / 0.6452 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001558/0.4952, allocations: 0.8973 MB / 0.6461 GB, free: 10.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.4953, allocations: 309.2 kB / 0.6464 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002371/0.4977, allocations: 1.418 MB / 0.6477 GB, free: 9.219 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005376/0.5031, allocations: 4.291 MB / 0.6519 GB, free: 3.477 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008628/0.5117, allocations: 6.186 MB / 0.658 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001058/0.5118, allocations: 32 kB / 0.658 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01028/0.5221, allocations: 5.496 MB / 0.6634 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.392e-05/0.5222, allocations: 56.03 kB / 0.6634 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001339/0.5223, allocations: 100 kB / 0.6635 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/0.5224, allocations: 136 kB / 0.6636 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004521/0.527, allocations: 1.224 MB / 0.6648 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000178/0.5271, allocations: 199.2 kB / 0.665 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/0.53, allocations: 247.6 kB / 0.6653 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004282/0.5304, allocations: 280 kB / 0.6655 GB, free: 4.105 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.002146/0.5326, allocations: 1.391 MB / 0.6669 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004623/0.533, allocations: 250.3 kB / 0.6671 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/0.5352, allocations: 1.233 MB / 0.6683 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.83e-05/0.5352, allocations: 23.88 kB / 0.6684 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5352, allocations: 0 / 0.6684 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/0.5352, allocations: 7.969 kB / 0.6684 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008282/0.5435, allocations: 4.338 MB / 0.6726 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/0.5435, allocations: 4 kB / 0.6726 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002046/0.5456, allocations: 363.3 kB / 0.673 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-05/0.5456, allocations: 12.53 kB / 0.673 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/0.5457, allocations: 27.98 kB / 0.673 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.631e-05/0.5457, allocations: 8 kB / 0.673 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.284e-05/0.5457, allocations: 11.94 kB / 0.673 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003356/0.5491, allocations: 2.174 MB / 0.6751 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005906/0.5497, allocations: 238.2 kB / 0.6754 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003447/0.55, allocations: 23.98 kB / 0.6754 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.551, allocations: 59.91 kB / 0.6754 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.5512, allocations: 75.7 kB / 0.6755 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.175e-05/0.5513, allocations: 40 kB / 0.6756 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003706/0.555, allocations: 1.815 MB / 0.6773 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.555, allocations: 0 / 0.6773 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003993/0.559, allocations: 0.617 MB / 0.6779 GB, free: 7.215 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.003949/0.5629, allocations: 2.794 MB / 0.6807 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006355/0.5693, allocations: 3.142 MB / 0.6837 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/0.5693, allocations: 4.188 kB / 0.6837 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.5705, allocations: 0.7491 MB / 0.6845 GB, free: 480 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/0.573, allocations: 270.4 kB / 0.6847 GB, free: 208 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04947/0.6225, allocations: 29.81 MB / 0.7138 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003198/0.6257, allocations: 1.639 MB / 0.7154 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003938/0.6297, allocations: 1.455 MB / 0.7168 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002233/0.6319, allocations: 1.081 MB / 0.7179 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of SimCode: time 1.032e-06/0.6319, allocations: 0 / 0.7179 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3028/0.9347, allocations: 41.29 MB / 0.7582 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/15.13, allocations: 7.922 kB / 0.7582 GB, free: 138.8 MB / 0.5606 GB " [Timeout remaining time 645] (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: 18.276561827864498]