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.001852/0.001852, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002186/0.002186, allocations: 212.8 kB / 23.74 MB, free: 4.656 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.58/1.58, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.242/0.242, allocations: 46.93 MB / 360.9 MB, free: 4.289 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.002755/0.002755, allocations: 71.89 kB / 0.4961 GB, free: 7.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3361, allocations: 66.04 MB / 0.5606 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009895/0.346, allocations: 7.535 MB / 0.568 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007612/0.3536, allocations: 3.405 MB / 0.5713 GB, free: 9.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.3548, allocations: 39.81 kB / 0.5713 GB, free: 9.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002089/0.3569, allocations: 0.8248 MB / 0.5722 GB, free: 8.652 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003412/0.3603, allocations: 1.312 MB / 0.5734 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.3616, allocations: 0.534 MB / 0.574 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004198/0.3658, allocations: 2.601 MB / 0.5765 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002039/0.3679, allocations: 1.15 MB / 0.5776 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.3693, allocations: 0.7822 MB / 0.5784 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/0.3711, allocations: 1.238 MB / 0.5796 GB, free: 1.004 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004395/0.3716, allocations: 140 kB / 0.5797 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.3736, allocations: 0.9633 MB / 0.5807 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001179/0.3748, allocations: 1.028 MB / 0.5817 GB, free: 14.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001496/0.3762, allocations: 1.219 MB / 0.5829 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00564/0.3819, allocations: 4.038 MB / 0.5868 GB, free: 9.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3819, allocations: 0 / 0.5868 GB, free: 9.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3819, allocations: 7.875 kB / 0.5868 GB, free: 9.582 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001074/0.382, allocations: 0 / 0.5868 GB, free: 9.582 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.006704/0.3887, allocations: 2.947 MB / 0.5897 GB, free: 6.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.3888, allocations: 12.02 kB / 0.5897 GB, free: 6.578 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007953/0.3896, allocations: 462.5 kB / 0.5901 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006314/0.3959, allocations: 1.672 MB / 0.5918 GB, free: 4.441 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003772/0.3996, allocations: 1.489 MB / 0.5932 GB, free: 2.922 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.3998, allocations: 123.4 kB / 0.5933 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005264/0.4003, allocations: 167.8 kB / 0.5935 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01163/0.4119, allocations: 6.456 MB / 0.5998 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.293e-05/0.412, allocations: 35.69 kB / 0.5998 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000324/0.4124, allocations: 79.89 kB / 0.5999 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002621/0.415, allocations: 1.437 MB / 0.6013 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01182/0.4268, allocations: 5.728 MB / 0.6069 GB, free: 4.363 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03609/0.4629, allocations: 26.65 MB / 0.6329 GB, free: 8.852 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004328/0.4672, allocations: 1.626 MB / 0.6345 GB, free: 7.188 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/0.4688, allocations: 0.9565 MB / 0.6355 GB, free: 6.219 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000171/0.469, allocations: 32.3 kB / 0.6355 GB, free: 6.188 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.469, allocations: 42.83 kB / 0.6355 GB, free: 6.137 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.556e-06/0.469, allocations: 0 / 0.6355 GB, free: 6.137 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01631/0.4853, allocations: 6.506 MB / 0.6419 GB, free: 15.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.4854, allocations: 152.9 kB / 0.642 GB, free: 15.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004197/0.4896, allocations: 2.89 MB / 0.6449 GB, free: 12.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001477/0.4898, allocations: 41.64 kB / 0.6449 GB, free: 12.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001844/0.4916, allocations: 2.194 MB / 0.647 GB, free: 10.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005323/0.4921, allocations: 468.5 kB / 0.6475 GB, free: 9.809 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001247/0.4934, allocations: 0.9051 MB / 0.6484 GB, free: 8.891 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.4935, allocations: 305.1 kB / 0.6487 GB, free: 8.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002338/0.4959, allocations: 1.418 MB / 0.65 GB, free: 7.164 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004918/0.5008, allocations: 4.283 MB / 0.6542 GB, free: 1.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008144/0.5089, allocations: 6.194 MB / 0.6603 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/0.509, allocations: 32 kB / 0.6603 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01025/0.5193, allocations: 5.488 MB / 0.6657 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.95e-05/0.5193, allocations: 48 kB / 0.6657 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001197/0.5195, allocations: 100 kB / 0.6658 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000151/0.5196, allocations: 136.3 kB / 0.6659 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004349/0.524, allocations: 1.232 MB / 0.6671 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001961/0.5242, allocations: 203.2 kB / 0.6673 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002874/0.527, allocations: 251.8 kB / 0.6676 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005655/0.5276, allocations: 280 kB / 0.6678 GB, free: 2.051 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.002707/0.5303, allocations: 1.384 MB / 0.6692 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005465/0.5309, allocations: 254.3 kB / 0.6694 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/0.5332, allocations: 1.237 MB / 0.6706 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.92e-05/0.5332, allocations: 23.84 kB / 0.6707 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.5332, allocations: 0 / 0.6707 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.5332, allocations: 7.984 kB / 0.6707 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008755/0.542, allocations: 4.525 MB / 0.6751 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/0.542, allocations: 4.531 kB / 0.6751 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001847/0.5438, allocations: 375.3 kB / 0.6755 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-05/0.5438, allocations: 8 kB / 0.6755 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-05/0.5439, allocations: 24 kB / 0.6755 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.105e-05/0.5439, allocations: 8 kB / 0.6755 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.5439, allocations: 7.938 kB / 0.6755 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003081/0.547, allocations: 2.176 MB / 0.6776 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005472/0.5476, allocations: 242.1 kB / 0.6779 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002624/0.5478, allocations: 16 kB / 0.6779 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009161/0.5487, allocations: 59.92 kB / 0.6779 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.5489, allocations: 67.77 kB / 0.678 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.125e-05/0.549, allocations: 47.98 kB / 0.678 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002875/0.5519, allocations: 1.815 MB / 0.6798 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5519, allocations: 0 / 0.6798 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003067/0.5549, allocations: 0.617 MB / 0.6804 GB, free: 4.977 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.003415/0.5584, allocations: 2.795 MB / 0.6831 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005423/0.5638, allocations: 3.142 MB / 0.6862 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.5638, allocations: 4.188 kB / 0.6862 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.5649, allocations: 0.7363 MB / 0.6869 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/0.5667, allocations: 277.6 kB / 0.6872 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0461/0.6128, allocations: 29.81 MB / 0.7163 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002562/0.6153, allocations: 2.213 MB / 0.7185 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003339/0.6187, allocations: 1.459 MB / 0.7199 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001773/0.6204, allocations: 1.081 MB / 0.721 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of SimCode: time 1.252e-06/0.6204, allocations: 0 / 0.721 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3467/0.9672, allocations: 45.16 MB / 0.7651 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.16/21.13, allocations: 2.891 kB / 0.7651 GB, free: 131.8 MB / 0.5606 GB " [Timeout remaining time 639] (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: 24.50314557296224]