Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.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.001682/0.001682, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001977/0.001977, allocations: 203.7 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2311/0.2311, allocations: 46.97 MB / 360.9 MB, free: 4.133 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Joints.Planar,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 71.91 kB / 0.4961 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3303, allocations: 66.04 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01681/0.3471, allocations: 13.01 MB / 0.5733 GB, free: 7.176 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.358, allocations: 4.23 MB / 0.5774 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003107/0.3611, allocations: 91.69 kB / 0.5775 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005519/0.3666, allocations: 2.18 MB / 0.5796 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006737/0.3733, allocations: 2.059 MB / 0.5817 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.3751, allocations: 0.6082 MB / 0.5823 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006535/0.3817, allocations: 4.307 MB / 0.5865 GB, free: 9.664 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003805/0.3855, allocations: 2.68 MB / 0.5891 GB, free: 6.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002569/0.388, allocations: 1.616 MB / 0.5907 GB, free: 5.309 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003831/0.3919, allocations: 2.434 MB / 0.593 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009819/0.3929, allocations: 344 kB / 0.5934 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.395, allocations: 0.9401 MB / 0.5943 GB, free: 1.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002082/0.3971, allocations: 2.014 MB / 0.5962 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002412/0.3995, allocations: 1.727 MB / 0.5979 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009657/0.4091, allocations: 7.808 MB / 0.6056 GB, free: 5.992 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4091, allocations: 0 / 0.6056 GB, free: 5.992 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4091, allocations: 4 kB / 0.6056 GB, free: 5.988 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002304/0.4094, allocations: 0 / 0.6056 GB, free: 5.988 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.01212/0.4215, allocations: 5.141 MB / 0.6106 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.4215, allocations: 11.97 kB / 0.6106 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001979/0.4235, allocations: 0.8566 MB / 0.6114 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.4348, allocations: 3.226 MB / 0.6146 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006643/0.4414, allocations: 2.56 MB / 0.6171 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002786/0.4417, allocations: 254.4 kB / 0.6173 GB, free: 9.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001342/0.443, allocations: 327.8 kB / 0.6176 GB, free: 9.5 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02131/0.4643, allocations: 12.24 MB / 0.6296 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000115/0.4644, allocations: 31.7 kB / 0.6296 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005063/0.465, allocations: 163.8 kB / 0.6298 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004701/0.4697, allocations: 2.84 MB / 0.6325 GB, free: 9.699 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02317/0.4928, allocations: 11.1 MB / 0.6434 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06483/0.5577, allocations: 38.43 MB / 0.6809 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009671/0.5673, allocations: 3.592 MB / 0.6844 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003659/0.571, allocations: 2.249 MB / 0.6866 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009779/0.572, allocations: 453.2 kB / 0.687 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.572, allocations: 52.56 kB / 0.6871 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 6.111e-06/0.572, allocations: 3.938 kB / 0.6871 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of matching and sorting (n=267): time 0.04874/0.6208, allocations: 18.52 MB / 0.7052 GB, free: 14.18 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/0.6208, allocations: 73.41 kB / 0.7053 GB, free: 14.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004921/0.6258, allocations: 3.366 MB / 0.7085 GB, free: 10.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004522/0.6262, allocations: 61.7 kB / 0.7086 GB, free: 10.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002503/0.6287, allocations: 3.237 MB / 0.7118 GB, free: 7.379 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001369/0.6301, allocations: 1.023 MB / 0.7128 GB, free: 6.348 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001836/0.6319, allocations: 1.184 MB / 0.7139 GB, free: 5.152 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.632, allocations: 301.1 kB / 0.7142 GB, free: 4.855 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003692/0.6357, allocations: 2.456 MB / 0.7166 GB, free: 2.395 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006579/0.6423, allocations: 5.722 MB / 0.7222 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01204/0.6544, allocations: 8.973 MB / 0.731 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001338/0.6545, allocations: 36 kB / 0.731 GB, free: 472 kB / 0.5606 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.3407/0.9952, allocations: 8.986 MB / 0.7398 GB, free: 150 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.673e-05/0.9953, allocations: 56.66 kB / 0.7398 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001119/0.9954, allocations: 112.8 kB / 0.7399 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002722/0.9981, allocations: 1.052 MB / 0.741 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004159/1.002, allocations: 1.342 MB / 0.7423 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006387/1.009, allocations: 5.399 MB / 0.7475 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004474/1.013, allocations: 320.7 kB / 0.7478 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/1.014, allocations: 335.8 kB / 0.7482 GB, free: 146.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.004639/1.019, allocations: 2.409 MB / 0.7505 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007988/1.02, allocations: 329.4 kB / 0.7508 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007459/1.027, allocations: 5.357 MB / 0.7561 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.413e-05/1.027, allocations: 51.83 kB / 0.7561 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/1.027, allocations: 0.75 kB / 0.7561 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-05/1.027, allocations: 13.45 kB / 0.7561 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01787/1.045, allocations: 12.5 MB / 0.7683 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/1.045, allocations: 8 kB / 0.7683 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/1.047, allocations: 419.3 kB / 0.7687 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002461/1.049, allocations: 0.8981 MB / 0.7696 GB, free: 126 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002294/1.049, allocations: 51.98 kB / 0.7697 GB, free: 126 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00482/1.054, allocations: 4.702 MB / 0.7743 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/1.054, allocations: 19.88 kB / 0.7743 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009341/1.063, allocations: 8.027 MB / 0.7821 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000787/1.064, allocations: 306 kB / 0.7824 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003857/1.065, allocations: 55.56 kB / 0.7825 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/1.066, allocations: 155.8 kB / 0.7826 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000314/1.066, allocations: 173.4 kB / 0.7828 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/1.066, allocations: 79.42 kB / 0.7828 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002007/1.068, allocations: 1.957 MB / 0.7848 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.068, allocations: 0 / 0.7848 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004114/1.073, allocations: 1.059 MB / 0.7858 GB, free: 109.5 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.009378/1.082, allocations: 8.701 MB / 0.7943 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007283/1.089, allocations: 5.77 MB / 0.7999 GB, free: 94.79 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.756e-05/1.089, allocations: 0 / 0.7999 GB, free: 94.79 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002307/1.091, allocations: 2.099 MB / 0.802 GB, free: 92.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/1.094, allocations: 457.8 kB / 0.8024 GB, free: 92.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05423/1.148, allocations: 47.15 MB / 0.8485 GB, free: 39.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00333/1.151, allocations: 3.179 MB / 0.8516 GB, free: 36.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003704/1.155, allocations: 2.153 MB / 0.8537 GB, free: 34.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002268/1.157, allocations: 2.104 MB / 0.8557 GB, free: 32.41 MB / 0.5606 GB Notification: Performance of SimCode: time 1.011e-06/1.157, allocations: 0 / 0.8557 GB, free: 32.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1229/1.28, allocations: 69.73 MB / 0.9238 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.08/16.36, allocations: 0 / 0.9238 GB, free: 11.34 MB / 0.6075 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 19.83278888798668]