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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 117.5 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 192.7 kB / 20.07 MB, free: 2.992 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.504/1.504, allocations: 207.6 MB / 230.5 MB, free: 4.027 MB / 174.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.3337/0.3337, allocations: 44.23 MB / 326.5 MB, free: 6.871 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 75.88 kB / 462.2 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3378, allocations: 60.99 MB / 0.5109 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01059/0.3484, allocations: 12.49 MB / 0.5231 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008617/0.357, allocations: 4.073 MB / 0.5271 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002955/0.36, allocations: 79.81 kB / 0.5271 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004037/0.364, allocations: 1.713 MB / 0.5288 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005319/0.3693, allocations: 1.627 MB / 0.5304 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002789/0.3721, allocations: 1.192 MB / 0.5316 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00607/0.3782, allocations: 3.618 MB / 0.5351 GB, free: 6.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003173/0.3814, allocations: 2.133 MB / 0.5372 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002189/0.3836, allocations: 1.214 MB / 0.5384 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002947/0.3865, allocations: 1.841 MB / 0.5402 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007913/0.3873, allocations: 252 kB / 0.5404 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.3889, allocations: 0.7334 MB / 0.5411 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001837/0.3908, allocations: 1.694 MB / 0.5428 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002172/0.393, allocations: 1.983 MB / 0.5447 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009403/0.4024, allocations: 6.55 MB / 0.5511 GB, free: 5.645 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4024, allocations: 0 / 0.5511 GB, free: 5.645 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4024, allocations: 0 / 0.5511 GB, free: 5.645 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002349/0.4026, allocations: 0 / 0.5511 GB, free: 5.645 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.00957/0.4122, allocations: 4.305 MB / 0.5553 GB, free: 1.262 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/0.4122, allocations: 15.89 kB / 0.5553 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001261/0.4135, allocations: 0.7496 MB / 0.5561 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/0.4239, allocations: 3.043 MB / 0.559 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005061/0.429, allocations: 1.882 MB / 0.5609 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/0.4292, allocations: 205.1 kB / 0.5611 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007616/0.4299, allocations: 255.8 kB / 0.5613 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01688/0.4468, allocations: 10.52 MB / 0.5716 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.132e-05/0.4469, allocations: 31.69 kB / 0.5716 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003689/0.4473, allocations: 131.8 kB / 0.5717 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003797/0.4511, allocations: 2.443 MB / 0.5741 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01704/0.4681, allocations: 9.357 MB / 0.5833 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05708/0.5252, allocations: 38.83 MB / 0.6212 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006187/0.5314, allocations: 3.361 MB / 0.6245 GB, free: 8.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001814/0.5332, allocations: 1.168 MB / 0.6256 GB, free: 7.055 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01069/0.5439, allocations: 5.47 MB / 0.6309 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/0.5439, allocations: 47.06 kB / 0.631 GB, free: 1.383 MB / 494.1 MB Notification: Performance of pre-optimization done (n=153): time 4.919e-06/0.5439, allocations: 0 / 0.631 GB, free: 1.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=153): time 0.007265/0.5512, allocations: 3.377 MB / 0.6343 GB, free: 14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.5513, allocations: 170.8 kB / 0.6345 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005671/0.557, allocations: 3.972 MB / 0.6383 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.5571, allocations: 41.7 kB / 0.6384 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002687/0.5598, allocations: 3.461 MB / 0.6418 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006729/0.5604, allocations: 0.6554 MB / 0.6424 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001705/0.5622, allocations: 1.353 MB / 0.6437 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.5623, allocations: 309.1 kB / 0.644 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002963/0.5653, allocations: 1.996 MB / 0.646 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2872/0.8525, allocations: 6.31 MB / 0.6521 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01258/0.8651, allocations: 9.052 MB / 0.661 GB, free: 106.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000426/0.8655, allocations: 51.31 kB / 0.661 GB, free: 106.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01824/0.8837, allocations: 7.936 MB / 0.6688 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.8839, allocations: 74.34 kB / 0.6688 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001702/0.884, allocations: 151.5 kB / 0.669 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001843/0.8842, allocations: 202.9 kB / 0.6692 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004167/0.8884, allocations: 1.512 MB / 0.6706 GB, free: 103.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001869/0.8886, allocations: 297.2 kB / 0.6709 GB, free: 103.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004642/0.8932, allocations: 0.9705 MB / 0.6719 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000916/0.8941, allocations: 421.7 kB / 0.6723 GB, free: 103.3 MB / 0.4981 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.003354/0.8975, allocations: 2.279 MB / 0.6745 GB, free: 102.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005524/0.898, allocations: 335.8 kB / 0.6748 GB, free: 102.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006424/0.8987, allocations: 420.6 kB / 0.6752 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.243e-05/0.8987, allocations: 41.53 kB / 0.6753 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.8988, allocations: 3.75 kB / 0.6753 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.8988, allocations: 3.75 kB / 0.6753 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008557/0.9073, allocations: 5.708 MB / 0.6808 GB, free: 98.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.9073, allocations: 4 kB / 0.6809 GB, free: 98.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008627/0.9082, allocations: 209.6 kB / 0.6811 GB, free: 98.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.9082, allocations: 12 kB / 0.6811 GB, free: 98.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.395e-05/0.9083, allocations: 25.69 kB / 0.6811 GB, free: 98.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/0.9083, allocations: 19.73 kB / 0.6811 GB, free: 98.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.9083, allocations: 11.94 kB / 0.6811 GB, free: 98.13 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002303/0.9106, allocations: 2.595 MB / 0.6837 GB, free: 95.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007989/0.9114, allocations: 404.6 kB / 0.684 GB, free: 95.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003169/0.9117, allocations: 25.19 kB / 0.6841 GB, free: 95.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009594/0.9127, allocations: 75.95 kB / 0.6841 GB, free: 95.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.9128, allocations: 87.19 kB / 0.6842 GB, free: 95.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.263e-05/0.9129, allocations: 44 kB / 0.6843 GB, free: 95.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003002/0.9159, allocations: 2.411 MB / 0.6866 GB, free: 93.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9159, allocations: 0 / 0.6866 GB, free: 93.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005163/0.9211, allocations: 1.144 MB / 0.6877 GB, free: 92.05 MB / 0.4981 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.00269/0.9238, allocations: 3.233 MB / 0.6909 GB, free: 88.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005821/0.9296, allocations: 4.375 MB / 0.6952 GB, free: 85.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.9296, allocations: 0 / 0.6952 GB, free: 85.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008992/0.9305, allocations: 0.8898 MB / 0.696 GB, free: 84.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/0.9326, allocations: 347.7 kB / 0.6964 GB, free: 83.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04748/0.9801, allocations: 43.34 MB / 0.7387 GB, free: 33.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002801/0.9829, allocations: 3.276 MB / 0.7419 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003941/0.9868, allocations: 2.282 MB / 0.7441 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001651/0.9885, allocations: 1.749 MB / 0.7458 GB, free: 26.43 MB / 0.4981 GB Notification: Performance of SimCode: time 1.322e-06/0.9885, allocations: 0 / 0.7458 GB, free: 26.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08851/1.077, allocations: 52.94 MB / 0.7975 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.08/20.16, allocations: 11.94 kB / 0.7975 GB, free: 5.48 MB / 0.5294 GB " [Timeout remaining time 640] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 23.28024302702397]