Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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: 114.4 kB / 19.69 MB, free: 2.188 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.001537/0.001537, allocations: 211.8 kB / 23 MB, free: 5.008 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.4/1.4, allocations: 207.6 MB / 233.8 MB, free: 10 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.2148/0.2148, allocations: 44.24 MB / 330.3 MB, free: 9.617 MB / 270.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.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",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.002186/0.002186, allocations: 67.89 kB / 467.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1236, allocations: 61.05 MB / 0.5161 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01623/0.1398, allocations: 12.52 MB / 0.5284 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009796/0.1496, allocations: 4.086 MB / 0.5324 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00223/0.1518, allocations: 91.69 kB / 0.5324 GB, free: 6.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004001/0.1558, allocations: 1.713 MB / 0.5341 GB, free: 4.871 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004287/0.1601, allocations: 1.634 MB / 0.5357 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002782/0.1629, allocations: 1.215 MB / 0.5369 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2602/0.4231, allocations: 3.622 MB / 0.5404 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003727/0.4268, allocations: 2.069 MB / 0.5425 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003295/0.4301, allocations: 1.239 MB / 0.5437 GB, free: 9.996 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00447/0.4346, allocations: 1.838 MB / 0.5455 GB, free: 9.785 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001156/0.4357, allocations: 254.4 kB / 0.5457 GB, free: 9.785 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002191/0.4379, allocations: 0.7333 MB / 0.5464 GB, free: 9.785 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002581/0.4405, allocations: 1.69 MB / 0.5481 GB, free: 9.551 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003507/0.444, allocations: 1.985 MB / 0.55 GB, free: 8.777 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.4548, allocations: 6.536 MB / 0.5564 GB, free: 6.996 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.4548, allocations: 1.188 kB / 0.5564 GB, free: 6.996 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4548, allocations: 3.375 kB / 0.5564 GB, free: 6.996 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002667/0.455, allocations: 0 / 0.5564 GB, free: 6.996 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: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.01298/0.468, allocations: 4.235 MB / 0.5605 GB, free: 4.555 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.4681, allocations: 8.938 kB / 0.5605 GB, free: 4.555 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002197/0.4703, allocations: 0.7468 MB / 0.5613 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/0.4809, allocations: 3.043 MB / 0.5642 GB, free: 3.762 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00568/0.4866, allocations: 1.819 MB / 0.566 GB, free: 2.777 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000234/0.4869, allocations: 200 kB / 0.5662 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001254/0.4881, allocations: 265.3 kB / 0.5665 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02182/0.5099, allocations: 10.52 MB / 0.5767 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.084e-05/0.51, allocations: 35.69 kB / 0.5768 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005368/0.5106, allocations: 136 kB / 0.5769 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004684/0.5152, allocations: 2.437 MB / 0.5793 GB, free: 11.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02028/0.5355, allocations: 9.37 MB / 0.5884 GB, free: 5.336 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06504/0.6006, allocations: 38.69 MB / 0.6262 GB, free: 14.03 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006276/0.6068, allocations: 2.445 MB / 0.6286 GB, free: 11.55 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00218/0.609, allocations: 1.17 MB / 0.6297 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01226/0.6213, allocations: 5.002 MB / 0.6346 GB, free: 5.379 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.6213, allocations: 49.84 kB / 0.6347 GB, free: 5.328 MB / 478.1 MB Notification: Performance of pre-optimization done (n=153): time 5.811e-06/0.6213, allocations: 0 / 0.6347 GB, free: 5.328 MB / 478.1 MB Notification: Performance of matching and sorting (n=153): time 0.008201/0.6295, allocations: 3.38 MB / 0.638 GB, free: 1.961 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.6297, allocations: 170 kB / 0.6381 GB, free: 1.762 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008519/0.6382, allocations: 3.964 MB / 0.642 GB, free: 13.81 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003058/0.6385, allocations: 45.7 kB / 0.6421 GB, free: 13.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003616/0.6421, allocations: 3.467 MB / 0.6454 GB, free: 10.31 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001209/0.6433, allocations: 0.6413 MB / 0.6461 GB, free: 9.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003705/0.647, allocations: 1.364 MB / 0.6474 GB, free: 8.309 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.6472, allocations: 305.1 kB / 0.6477 GB, free: 8.008 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003876/0.651, allocations: 2 MB / 0.6496 GB, free: 6.004 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008675/0.6597, allocations: 6.309 MB / 0.6558 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01315/0.6729, allocations: 9.057 MB / 0.6646 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000229/0.6731, allocations: 48 kB / 0.6647 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01839/0.6915, allocations: 7.945 MB / 0.6725 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002116/0.6917, allocations: 72 kB / 0.6725 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000338/0.692, allocations: 152 kB / 0.6727 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003004/0.6923, allocations: 200 kB / 0.6729 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005825/0.6982, allocations: 1.505 MB / 0.6743 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003367/0.6985, allocations: 298.8 kB / 0.6746 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006746/0.7052, allocations: 0.9756 MB / 0.6756 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001455/0.7067, allocations: 424 kB / 0.676 GB, free: 7.078 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 21 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (819): * Single equations (assignments): 811 * Array equations: 8 * 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.005634/0.7123, allocations: 2.282 MB / 0.6782 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008726/0.7132, allocations: 337.7 kB / 0.6785 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/0.7146, allocations: 412.2 kB / 0.6789 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-05/0.7147, allocations: 43.83 kB / 0.679 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.7147, allocations: 0 / 0.679 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.7147, allocations: 7.984 kB / 0.679 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01442/0.7291, allocations: 5.687 MB / 0.6845 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-05/0.7291, allocations: 4 kB / 0.6845 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.7302, allocations: 211.7 kB / 0.6847 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.439e-05/0.7303, allocations: 12 kB / 0.6847 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/0.7304, allocations: 27.98 kB / 0.6848 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.8e-05/0.7304, allocations: 16.81 kB / 0.6848 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.149e-05/0.7304, allocations: 11.94 kB / 0.6848 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003707/0.7341, allocations: 2.602 MB / 0.6873 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/0.7353, allocations: 329.3 kB / 0.6876 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007951/0.736, allocations: 24 kB / 0.6877 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/0.7376, allocations: 66.58 kB / 0.6877 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/0.7378, allocations: 96.17 kB / 0.6878 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/0.738, allocations: 45.19 kB / 0.6879 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005693/0.7437, allocations: 2.411 MB / 0.6902 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7437, allocations: 0 / 0.6902 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0069/0.7506, allocations: 1.14 MB / 0.6913 GB, free: 7.172 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 105 * Array equations: 6 * 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.006238/0.7568, allocations: 3.233 MB / 0.6945 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009246/0.766, allocations: 4.355 MB / 0.6987 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/0.7661, allocations: 4 kB / 0.6987 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001683/0.7677, allocations: 0.8889 MB / 0.6996 GB, free: 14.63 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003661/0.7714, allocations: 373.8 kB / 0.7 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0921/0.8635, allocations: 43.34 MB / 0.7423 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007678/0.8712, allocations: 3.276 MB / 0.7455 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006765/0.8779, allocations: 2.272 MB / 0.7477 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004316/0.8823, allocations: 1.757 MB / 0.7494 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of SimCode: time 2.104e-06/0.8823, allocations: 3.938 kB / 0.7494 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3688/1.251, allocations: 58.4 MB / 0.8065 GB, free: 205.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.1/23.35, allocations: 0 / 0.8065 GB, free: 205.4 MB / 0.6075 GB " [Timeout remaining time 637] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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: 26.488013244932517]