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.001408/0.001408, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001801/0.001801, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.46/1.46, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.2273/0.2273, allocations: 46.9 MB / 357.4 MB, free: 10.6 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 75.88 kB / 0.4912 GB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1271, allocations: 65.99 MB / 0.5557 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01388/0.141, allocations: 11.98 MB / 0.5674 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008207/0.1492, allocations: 4.086 MB / 0.5714 GB, free: 6.312 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.151, allocations: 75.88 kB / 0.5714 GB, free: 6.238 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003628/0.1546, allocations: 1.689 MB / 0.5731 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00406/0.1587, allocations: 1.557 MB / 0.5746 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002611/0.1613, allocations: 1.181 MB / 0.5758 GB, free: 1.797 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00555/0.1668, allocations: 3.514 MB / 0.5792 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00327/0.1701, allocations: 2.059 MB / 0.5812 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001879/0.172, allocations: 1.156 MB / 0.5823 GB, free: 11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002468/0.1744, allocations: 1.732 MB / 0.584 GB, free: 9.266 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005493/0.175, allocations: 236 kB / 0.5843 GB, free: 9.035 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.1764, allocations: 0.7372 MB / 0.585 GB, free: 8.297 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001657/0.178, allocations: 1.597 MB / 0.5865 GB, free: 6.695 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002241/0.1803, allocations: 1.859 MB / 0.5883 GB, free: 4.824 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2542/0.4345, allocations: 6.146 MB / 0.5943 GB, free: 12.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.4345, allocations: 3.625 kB / 0.5944 GB, free: 12.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4345, allocations: 0 / 0.5944 GB, free: 12.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002052/0.4347, allocations: 0.7188 kB / 0.5944 GB, free: 12.2 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.007998/0.4427, allocations: 4.089 MB / 0.5983 GB, free: 10.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4427, allocations: 10.78 kB / 0.5984 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001365/0.4441, allocations: 0.7128 MB / 0.5991 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/0.4545, allocations: 2.999 MB / 0.602 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005562/0.46, allocations: 1.814 MB / 0.6038 GB, free: 9.516 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/0.4602, allocations: 196.5 kB / 0.6039 GB, free: 9.508 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008525/0.461, allocations: 251 kB / 0.6042 GB, free: 9.504 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01609/0.4771, allocations: 10.04 MB / 0.614 GB, free: 6.914 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.961e-05/0.4772, allocations: 29.16 kB / 0.614 GB, free: 6.914 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004641/0.4777, allocations: 123.4 kB / 0.6141 GB, free: 6.875 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003744/0.4814, allocations: 2.319 MB / 0.6164 GB, free: 6.496 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01447/0.4959, allocations: 8.922 MB / 0.6251 GB, free: 3.898 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04872/0.5446, allocations: 37.61 MB / 0.6618 GB, free: 148 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005941/0.5505, allocations: 3.251 MB / 0.665 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001767/0.5523, allocations: 1.136 MB / 0.6661 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01012/0.5624, allocations: 5.172 MB / 0.6712 GB, free: 6.215 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/0.5625, allocations: 54.52 kB / 0.6712 GB, free: 6.156 MB / 494.1 MB Notification: Performance of pre-optimization done (n=150): time 5.23e-06/0.5625, allocations: 4 kB / 0.6712 GB, free: 6.152 MB / 494.1 MB Notification: Performance of matching and sorting (n=150): time 0.007755/0.5703, allocations: 3.332 MB / 0.6745 GB, free: 2.828 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.5704, allocations: 179.3 kB / 0.6747 GB, free: 2.617 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007387/0.5778, allocations: 3.837 MB / 0.6784 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002396/0.578, allocations: 43.97 kB / 0.6784 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002863/0.5809, allocations: 3.318 MB / 0.6817 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008446/0.5817, allocations: 0.6289 MB / 0.6823 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002236/0.584, allocations: 1.312 MB / 0.6836 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.5841, allocations: 302.5 kB / 0.6839 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003192/0.5873, allocations: 1.958 MB / 0.6858 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006658/0.5939, allocations: 6.105 MB / 0.6917 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/0.6045, allocations: 8.795 MB / 0.7003 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001248/0.6046, allocations: 40 kB / 0.7004 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01395/0.6186, allocations: 7.72 MB / 0.7079 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.6187, allocations: 71.94 kB / 0.708 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002368/0.6189, allocations: 149.2 kB / 0.7081 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002746/0.6192, allocations: 196 kB / 0.7083 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004654/0.6239, allocations: 1.451 MB / 0.7097 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002998/0.6242, allocations: 294.7 kB / 0.71 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00451/0.6287, allocations: 0.9393 MB / 0.7109 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000844/0.6295, allocations: 399.9 kB / 0.7113 GB, free: 9.906 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.003674/0.6332, allocations: 2.191 MB / 0.7134 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006274/0.6338, allocations: 329.7 kB / 0.7138 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.6349, allocations: 407.1 kB / 0.7141 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-05/0.635, allocations: 36 kB / 0.7142 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.635, allocations: 4 kB / 0.7142 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.635, allocations: 9.609 kB / 0.7142 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/0.646, allocations: 5.472 MB / 0.7195 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/0.646, allocations: 8 kB / 0.7195 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009927/0.647, allocations: 199.7 kB / 0.7197 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.106e-05/0.647, allocations: 15.94 kB / 0.7197 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/0.6471, allocations: 31.03 kB / 0.7198 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.791e-05/0.6472, allocations: 8.562 kB / 0.7198 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/0.6472, allocations: 14.59 kB / 0.7198 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003391/0.6506, allocations: 2.547 MB / 0.7223 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000878/0.6514, allocations: 390.6 kB / 0.7227 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004723/0.6519, allocations: 39.42 kB / 0.7227 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.653, allocations: 65.05 kB / 0.7228 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/0.6532, allocations: 80.34 kB / 0.7228 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.6533, allocations: 40 kB / 0.7229 GB, free: 13.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003855/0.6571, allocations: 2.338 MB / 0.7252 GB, free: 11.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.6571, allocations: 1.531 kB / 0.7252 GB, free: 11.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004648/0.6618, allocations: 1.074 MB / 0.7262 GB, free: 10.45 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.003892/0.6657, allocations: 3.179 MB / 0.7293 GB, free: 7.176 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006822/0.6725, allocations: 4.254 MB / 0.7335 GB, free: 2.961 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.6725, allocations: 4 kB / 0.7335 GB, free: 2.957 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.6738, allocations: 0.8734 MB / 0.7343 GB, free: 2.082 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/0.6759, allocations: 358.5 kB / 0.7347 GB, free: 1.742 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06321/0.7391, allocations: 41.8 MB / 0.7755 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00474/0.7439, allocations: 3.166 MB / 0.7786 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005468/0.7493, allocations: 2.23 MB / 0.7808 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002663/0.752, allocations: 1.659 MB / 0.7824 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of SimCode: time 1.122e-06/0.752, allocations: 0 / 0.7824 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09939/0.8514, allocations: 51.27 MB / 0.8324 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.92/19.77, allocations: 7.938 kB / 0.8324 GB, free: 7.324 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.15510991588235]