Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.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.001356/0.001356, allocations: 109.1 kB / 21.22 MB, free: 0.7461 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.00144/0.00144, allocations: 215.7 kB / 24.53 MB, free: 4.137 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.473/1.473, allocations: 230.5 MB / 258.2 MB, free: 7.984 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.2415/0.2415, allocations: 46.92 MB / 361.6 MB, free: 4.16 MB / 286.1 MB " [Timeout remaining time 179] 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.Joints.Planar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 71.89 kB / 0.497 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3426, allocations: 66.08 MB / 0.5615 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01907/0.3617, allocations: 15.05 MB / 0.5762 GB, free: 5.145 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01122/0.3729, allocations: 4.468 MB / 0.5806 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003018/0.3759, allocations: 87.69 kB / 0.5806 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005014/0.3809, allocations: 2.262 MB / 0.5829 GB, free: 14.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005953/0.3869, allocations: 2.047 MB / 0.5849 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.3886, allocations: 0.616 MB / 0.5855 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006663/0.3952, allocations: 4.309 MB / 0.5897 GB, free: 7.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003901/0.3991, allocations: 2.68 MB / 0.5923 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002968/0.4021, allocations: 1.624 MB / 0.5939 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003837/0.4059, allocations: 2.418 MB / 0.5962 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00068/0.4066, allocations: 340 kB / 0.5966 GB, free: 204 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002231/0.4089, allocations: 1.077 MB / 0.5976 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002161/0.411, allocations: 2.01 MB / 0.5996 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002801/0.4138, allocations: 2.384 MB / 0.6019 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.4239, allocations: 7.773 MB / 0.6095 GB, free: 2.902 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4239, allocations: 3.938 kB / 0.6095 GB, free: 2.898 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4239, allocations: 0 / 0.6095 GB, free: 2.898 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002041/0.4241, allocations: 0 / 0.6095 GB, free: 2.898 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: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.01126/0.4354, allocations: 5.145 MB / 0.6145 GB, free: 13.69 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.4354, allocations: 12.03 kB / 0.6145 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001638/0.4356, allocations: 118.6 kB / 0.6146 GB, free: 13.56 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001312/0.4369, allocations: 0.8487 MB / 0.6155 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/0.4481, allocations: 3.234 MB / 0.6186 GB, free: 9.457 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006683/0.4547, allocations: 2.54 MB / 0.6211 GB, free: 6.879 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002898/0.455, allocations: 250.2 kB / 0.6213 GB, free: 6.633 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001432/0.4565, allocations: 331.8 kB / 0.6217 GB, free: 6.309 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02524/0.4817, allocations: 12.23 MB / 0.6336 GB, free: 9.551 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001759/0.4819, allocations: 35.7 kB / 0.6336 GB, free: 9.516 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006865/0.4826, allocations: 159.8 kB / 0.6338 GB, free: 9.359 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005493/0.4881, allocations: 2.848 MB / 0.6366 GB, free: 6.508 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02504/0.5131, allocations: 11.12 MB / 0.6474 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06434/0.5774, allocations: 40.41 MB / 0.6869 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009068/0.5865, allocations: 3.606 MB / 0.6904 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003622/0.5901, allocations: 2.256 MB / 0.6926 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009245/0.591, allocations: 449.2 kB / 0.693 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.01e-05/0.5911, allocations: 56.5 kB / 0.6931 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=249): time 4.999e-06/0.5911, allocations: 0 / 0.6931 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.04666/0.6378, allocations: 18.46 MB / 0.7111 GB, free: 8.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.812e-05/0.6379, allocations: 73.41 kB / 0.7112 GB, free: 8.895 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005125/0.643, allocations: 3.181 MB / 0.7143 GB, free: 5.703 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003709/0.6434, allocations: 61.7 kB / 0.7144 GB, free: 5.637 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002736/0.6461, allocations: 3.241 MB / 0.7175 GB, free: 2.367 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001275/0.6474, allocations: 1.011 MB / 0.7185 GB, free: 1.348 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001953/0.6493, allocations: 1.191 MB / 0.7197 GB, free: 148 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.6495, allocations: 301.1 kB / 0.72 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004006/0.6535, allocations: 2.463 MB / 0.7224 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00738/0.6609, allocations: 5.715 MB / 0.728 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2997/0.9606, allocations: 8.977 MB / 0.7367 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000122/0.9607, allocations: 32.62 kB / 0.7368 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01518/0.9759, allocations: 8.993 MB / 0.7455 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.407e-05/0.976, allocations: 56.31 kB / 0.7456 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001013/0.9761, allocations: 113 kB / 0.7457 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002622/0.9787, allocations: 1.054 MB / 0.7467 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003653/0.9823, allocations: 1.344 MB / 0.748 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005447/0.9878, allocations: 5.44 MB / 0.7534 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003337/0.9911, allocations: 314.8 kB / 0.7537 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005163/0.9916, allocations: 346.3 kB / 0.754 GB, free: 142.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (725): * Single equations (assignments): 718 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002799/0.9944, allocations: 2.404 MB / 0.7563 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004219/0.9949, allocations: 330.8 kB / 0.7566 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007094/1.002, allocations: 5.357 MB / 0.7619 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.893e-05/1.002, allocations: 47.98 kB / 0.7619 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/1.002, allocations: 4 kB / 0.7619 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/1.002, allocations: 11.95 kB / 0.7619 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01784/1.02, allocations: 12.98 MB / 0.7746 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/1.02, allocations: 16.06 kB / 0.7746 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/1.021, allocations: 424.2 kB / 0.775 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002424/1.024, allocations: 0.8893 MB / 0.7759 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002412/1.024, allocations: 63.81 kB / 0.776 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004628/1.029, allocations: 4.738 MB / 0.7806 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/1.029, allocations: 15.94 kB / 0.7806 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00921/1.038, allocations: 8.028 MB / 0.7884 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008973/1.039, allocations: 302.1 kB / 0.7887 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000516/1.039, allocations: 51.98 kB / 0.7888 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/1.041, allocations: 147.8 kB / 0.7889 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003715/1.041, allocations: 173.4 kB / 0.7891 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/1.041, allocations: 83.89 kB / 0.7892 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00254/1.044, allocations: 1.962 MB / 0.7911 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.044, allocations: 0 / 0.7911 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00412/1.048, allocations: 1.055 MB / 0.7921 GB, free: 104.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * 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 (208): * Single equations (assignments): 201 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009235/1.057, allocations: 8.691 MB / 0.8006 GB, free: 95.22 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006953/1.064, allocations: 5.78 MB / 0.8062 GB, free: 89.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/1.064, allocations: 0 / 0.8062 GB, free: 89.46 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002238/1.066, allocations: 2.101 MB / 0.8083 GB, free: 87.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/1.069, allocations: 459.1 kB / 0.8087 GB, free: 86.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05068/1.119, allocations: 47.17 MB / 0.8548 GB, free: 34.53 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003294/1.123, allocations: 3.704 MB / 0.8584 GB, free: 30.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003649/1.126, allocations: 2.153 MB / 0.8605 GB, free: 28.63 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00228/1.128, allocations: 2.1 MB / 0.8626 GB, free: 26.53 MB / 0.5606 GB Notification: Performance of SimCode: time 8.61e-07/1.128, allocations: 0 / 0.8626 GB, free: 26.53 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1179/1.246, allocations: 72.13 MB / 0.933 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.48/29.73, allocations: 14.17 kB / 0.933 GB, free: 2.648 MB / 0.6075 GB " [Timeout remaining time 630] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.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: 33.84265900898026]