Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001362/0.001362, allocations: 114.3 kB / 18.49 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001553/0.001553, allocations: 220.7 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.224/0.224, allocations: 46.92 MB / 357.7 MB, free: 10.15 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 84.19 kB / 0.4916 GB, free: 7.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1383, allocations: 66.05 MB / 0.5561 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01498/0.1533, allocations: 11.96 MB / 0.5678 GB, free: 9.461 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008841/0.1622, allocations: 4.09 MB / 0.5718 GB, free: 5.355 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001938/0.1641, allocations: 87.69 kB / 0.5719 GB, free: 5.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00345/0.1675, allocations: 1.693 MB / 0.5736 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003737/0.1713, allocations: 1.553 MB / 0.5751 GB, free: 2.012 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002371/0.1737, allocations: 1.18 MB / 0.5762 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005571/0.1792, allocations: 3.517 MB / 0.5797 GB, free: 13.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002758/0.182, allocations: 2.063 MB / 0.5817 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.1838, allocations: 1.176 MB / 0.5828 GB, free: 10.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002691/0.1865, allocations: 1.725 MB / 0.5845 GB, free: 8.281 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007981/0.1873, allocations: 240 kB / 0.5847 GB, free: 8.047 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/0.1891, allocations: 0.7333 MB / 0.5855 GB, free: 7.312 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002123/0.1912, allocations: 1.593 MB / 0.587 GB, free: 5.715 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002502/0.1937, allocations: 1.863 MB / 0.5888 GB, free: 3.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2835/0.4772, allocations: 6.144 MB / 0.5948 GB, free: 11.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.4772, allocations: 3.781 kB / 0.5948 GB, free: 11.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4772, allocations: 0 / 0.5948 GB, free: 11.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002566/0.4775, allocations: 0 / 0.5948 GB, free: 11.61 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1539 * Number of variables: 1539 Notification: Performance of Generate backend data structure: time 0.01165/0.4891, allocations: 4.092 MB / 0.5988 GB, free: 9.773 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.4892, allocations: 10.94 kB / 0.5988 GB, free: 9.773 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002176/0.4894, allocations: 98.61 kB / 0.5989 GB, free: 9.766 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001909/0.4913, allocations: 0.7127 MB / 0.5996 GB, free: 9.691 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/0.503, allocations: 2.994 MB / 0.6026 GB, free: 9.402 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005692/0.5087, allocations: 1.817 MB / 0.6043 GB, free: 8.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002111/0.5089, allocations: 191 kB / 0.6045 GB, free: 8.902 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001713/0.5107, allocations: 249.6 kB / 0.6047 GB, free: 8.898 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0215/0.5322, allocations: 10.04 MB / 0.6145 GB, free: 6.688 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/0.5323, allocations: 31.09 kB / 0.6146 GB, free: 6.688 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006998/0.533, allocations: 128.8 kB / 0.6147 GB, free: 6.648 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004058/0.537, allocations: 2.315 MB / 0.617 GB, free: 6.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01572/0.5527, allocations: 8.928 MB / 0.6257 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05664/0.6094, allocations: 37.61 MB / 0.6624 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006364/0.6158, allocations: 3.248 MB / 0.6656 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002068/0.6178, allocations: 1.132 MB / 0.6667 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01128/0.6291, allocations: 5.184 MB / 0.6717 GB, free: 5.512 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.935e-05/0.6292, allocations: 53.86 kB / 0.6718 GB, free: 5.453 MB / 494.1 MB Notification: Performance of pre-optimization done (n=150): time 7.865e-06/0.6292, allocations: 0 / 0.6718 GB, free: 5.453 MB / 494.1 MB Notification: Performance of matching and sorting (n=150): time 0.008181/0.6373, allocations: 3.334 MB / 0.6751 GB, free: 2.125 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.6375, allocations: 173.1 kB / 0.6752 GB, free: 1.926 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008593/0.6461, allocations: 3.837 MB / 0.679 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003353/0.6464, allocations: 43.81 kB / 0.679 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003372/0.6498, allocations: 3.325 MB / 0.6823 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001233/0.651, allocations: 0.6334 MB / 0.6829 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003788/0.6548, allocations: 1.309 MB / 0.6842 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.6549, allocations: 301.1 kB / 0.6844 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003939/0.6589, allocations: 1.957 MB / 0.6864 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007672/0.6666, allocations: 6.108 MB / 0.6923 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01188/0.6784, allocations: 8.784 MB / 0.7009 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001488/0.6786, allocations: 47.38 kB / 0.7009 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01676/0.6953, allocations: 7.722 MB / 0.7085 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002349/0.6956, allocations: 71.75 kB / 0.7085 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003411/0.6959, allocations: 148 kB / 0.7087 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002525/0.6962, allocations: 192 kB / 0.7089 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005563/0.7017, allocations: 1.458 MB / 0.7103 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000385/0.7021, allocations: 286.9 kB / 0.7106 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005975/0.7081, allocations: 0.938 MB / 0.7115 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001607/0.7097, allocations: 400.9 kB / 0.7119 GB, free: 9.23 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 (791): * Single equations (assignments): 783 * 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.006049/0.7158, allocations: 2.205 MB / 0.714 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009021/0.7167, allocations: 325.7 kB / 0.7143 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.7182, allocations: 410.9 kB / 0.7147 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-05/0.7183, allocations: 38.64 kB / 0.7148 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.722e-05/0.7183, allocations: 0 / 0.7148 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.453e-05/0.7184, allocations: 3.984 kB / 0.7148 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01364/0.732, allocations: 5.477 MB / 0.7201 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.249e-05/0.732, allocations: 4 kB / 0.7201 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.7331, allocations: 208 kB / 0.7203 GB, free: 480 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.029e-05/0.7331, allocations: 11.94 kB / 0.7203 GB, free: 468 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001913/0.7333, allocations: 32 kB / 0.7204 GB, free: 436 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.401e-05/0.7334, allocations: 22.5 kB / 0.7204 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.7334, allocations: 4 kB / 0.7204 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003837/0.7372, allocations: 2.55 MB / 0.7229 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009883/0.7382, allocations: 390.5 kB / 0.7232 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006723/0.7389, allocations: 24 kB / 0.7233 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/0.7403, allocations: 59.92 kB / 0.7233 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/0.7405, allocations: 85.52 kB / 0.7234 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/0.7406, allocations: 40 kB / 0.7234 GB, free: 13.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005119/0.7457, allocations: 2.338 MB / 0.7257 GB, free: 10.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7457, allocations: 0 / 0.7257 GB, free: 10.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006289/0.752, allocations: 1.075 MB / 0.7268 GB, free: 9.766 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (108): * Single equations (assignments): 102 * 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.005038/0.7571, allocations: 3.181 MB / 0.7299 GB, free: 6.492 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008147/0.7652, allocations: 4.257 MB / 0.734 GB, free: 2.273 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/0.7652, allocations: 4.25 kB / 0.734 GB, free: 2.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001526/0.7668, allocations: 0.8707 MB / 0.7349 GB, free: 1.395 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002842/0.7696, allocations: 345.3 kB / 0.7352 GB, free: 1.059 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07369/0.8433, allocations: 41.82 MB / 0.7761 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005688/0.849, allocations: 3.162 MB / 0.7792 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005908/0.8549, allocations: 2.221 MB / 0.7813 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003195/0.8581, allocations: 1.671 MB / 0.783 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of SimCode: time 8.22e-07/0.8581, allocations: 0 / 0.783 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09798/0.9561, allocations: 51.31 MB / 0.8331 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.96/19.92, allocations: 7.922 kB / 0.8331 GB, free: 6.605 MB / 0.6544 GB " [Timeout remaining time 640] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.74363312998321]