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.001353/0.001353, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001459/0.001459, allocations: 215.5 kB / 22.99 MB, free: 4.605 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.425/1.425, allocations: 207.7 MB / 233.8 MB, free: 9.797 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.2263/0.2263, allocations: 44.26 MB / 330.3 MB, free: 9.32 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.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.002222/0.002222, allocations: 72.28 kB / 467.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1355, allocations: 61.05 MB / 0.5161 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01486/0.1504, allocations: 10.84 MB / 0.5267 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00969/0.1601, allocations: 3.888 MB / 0.5305 GB, free: 8.406 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002521/0.1626, allocations: 87.69 kB / 0.5306 GB, free: 8.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003945/0.1666, allocations: 1.654 MB / 0.5322 GB, free: 6.652 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004545/0.1711, allocations: 1.642 MB / 0.5338 GB, free: 5.004 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002466/0.1736, allocations: 1.153 MB / 0.535 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00542/0.179, allocations: 3.623 MB / 0.5385 GB, free: 220 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2523/0.4313, allocations: 2.052 MB / 0.5405 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002346/0.4337, allocations: 1.238 MB / 0.5417 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00342/0.4371, allocations: 1.757 MB / 0.5434 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009922/0.4381, allocations: 258.7 kB / 0.5437 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/0.4398, allocations: 0.6236 MB / 0.5443 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001966/0.4418, allocations: 1.695 MB / 0.5459 GB, free: 9.848 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002556/0.4443, allocations: 1.396 MB / 0.5473 GB, free: 9.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009725/0.4541, allocations: 6.569 MB / 0.5537 GB, free: 8.152 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4541, allocations: 3.188 kB / 0.5537 GB, free: 8.152 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4541, allocations: 0 / 0.5537 GB, free: 8.152 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002903/0.4544, allocations: 0 / 0.5537 GB, free: 8.152 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.01276/0.4671, allocations: 4.238 MB / 0.5579 GB, free: 6.082 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.459e-05/0.4672, allocations: 12.33 kB / 0.5579 GB, free: 6.082 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001914/0.4691, allocations: 0.7451 MB / 0.5586 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/0.4797, allocations: 3.044 MB / 0.5616 GB, free: 5.363 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006098/0.4858, allocations: 1.834 MB / 0.5634 GB, free: 4.539 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/0.486, allocations: 200.5 kB / 0.5635 GB, free: 4.488 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001046/0.4871, allocations: 262.2 kB / 0.5638 GB, free: 4.441 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01896/0.506, allocations: 10.52 MB / 0.5741 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.412e-05/0.5061, allocations: 36.64 kB / 0.5741 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005275/0.5066, allocations: 136.6 kB / 0.5742 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003831/0.5105, allocations: 2.435 MB / 0.5766 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01891/0.5294, allocations: 9.347 MB / 0.5857 GB, free: 8.945 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05897/0.5883, allocations: 37.16 MB / 0.622 GB, free: 3.199 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006255/0.5946, allocations: 2.431 MB / 0.6244 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001964/0.5966, allocations: 1.169 MB / 0.6256 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01052/0.6071, allocations: 4.766 MB / 0.6302 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.6071, allocations: 49.84 kB / 0.6303 GB, free: 10.74 MB / 478.1 MB Notification: Performance of pre-optimization done (n=153): time 6.712e-06/0.6071, allocations: 1.922 kB / 0.6303 GB, free: 10.74 MB / 478.1 MB Notification: Performance of matching and sorting (n=153): time 0.008172/0.6153, allocations: 3.379 MB / 0.6336 GB, free: 7.371 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/0.6155, allocations: 166.9 kB / 0.6337 GB, free: 7.168 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007697/0.6232, allocations: 4.223 MB / 0.6378 GB, free: 2.953 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002508/0.6234, allocations: 44.2 kB / 0.6379 GB, free: 2.906 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00325/0.6267, allocations: 3.465 MB / 0.6413 GB, free: 15.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001116/0.6278, allocations: 0.654 MB / 0.6419 GB, free: 14.81 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002307/0.6301, allocations: 1.353 MB / 0.6432 GB, free: 13.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.6303, allocations: 312.3 kB / 0.6435 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003538/0.6338, allocations: 2.006 MB / 0.6455 GB, free: 11.15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007995/0.6418, allocations: 6.301 MB / 0.6516 GB, free: 2.766 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01279/0.6546, allocations: 9.06 MB / 0.6605 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001719/0.6548, allocations: 47.28 kB / 0.6605 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01665/0.6714, allocations: 7.947 MB / 0.6683 GB, free: 40 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001368/0.6716, allocations: 68.05 kB / 0.6684 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002296/0.6718, allocations: 156.8 kB / 0.6685 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002181/0.672, allocations: 200 kB / 0.6687 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004873/0.6769, allocations: 1.52 MB / 0.6702 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002996/0.6772, allocations: 294.9 kB / 0.6705 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005379/0.6825, allocations: 0.9655 MB / 0.6714 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009726/0.6835, allocations: 420.4 kB / 0.6718 GB, free: 12.43 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.004529/0.6881, allocations: 2.278 MB / 0.674 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007134/0.6888, allocations: 333.7 kB / 0.6743 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008342/0.6896, allocations: 424.2 kB / 0.6748 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-05/0.6897, allocations: 42.09 kB / 0.6748 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.742e-05/0.6897, allocations: 4 kB / 0.6748 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/0.6897, allocations: 11.91 kB / 0.6748 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/0.7009, allocations: 5.486 MB / 0.6802 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/0.7009, allocations: 8 kB / 0.6802 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.7019, allocations: 211.7 kB / 0.6804 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.484e-05/0.7019, allocations: 8 kB / 0.6804 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.946e-05/0.702, allocations: 35.05 kB / 0.6804 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.775e-05/0.7021, allocations: 15.92 kB / 0.6804 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/0.7021, allocations: 11.94 kB / 0.6804 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003645/0.7057, allocations: 2.592 MB / 0.683 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008908/0.7066, allocations: 329.3 kB / 0.6833 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003436/0.707, allocations: 31.11 kB / 0.6833 GB, free: 456 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.708, allocations: 63.92 kB / 0.6834 GB, free: 392 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/0.7082, allocations: 92.12 kB / 0.6835 GB, free: 300 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.7083, allocations: 47.98 kB / 0.6835 GB, free: 252 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004886/0.7132, allocations: 2.407 MB / 0.6859 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.7132, allocations: 0 / 0.6859 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006688/0.7199, allocations: 1.152 MB / 0.687 GB, free: 12.71 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.00444/0.7243, allocations: 3.234 MB / 0.6901 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008768/0.7331, allocations: 4.369 MB / 0.6944 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/0.7331, allocations: 3.938 kB / 0.6944 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.7345, allocations: 0.8845 MB / 0.6953 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/0.737, allocations: 367.7 kB / 0.6956 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0724/0.8094, allocations: 43.33 MB / 0.7379 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004441/0.8138, allocations: 2.738 MB / 0.7406 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005282/0.8191, allocations: 2.276 MB / 0.7428 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003127/0.8223, allocations: 1.757 MB / 0.7446 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of SimCode: time 9.02e-07/0.8223, allocations: 0 / 0.7446 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3843/1.207, allocations: 51.52 MB / 0.7949 GB, free: 210.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.55/16.76, allocations: 11.52 kB / 0.7949 GB, free: 210.8 MB / 0.6075 GB " [Timeout remaining time 643] (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: 19.955673169810325]