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.001307/0.001307, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001435/0.001435, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.503/1.503, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.2614/0.2614, allocations: 46.95 MB / 361.6 MB, free: 3.934 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.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.002165/0.002165, allocations: 79.88 kB / 0.4969 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2871, allocations: 66.08 MB / 0.5614 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01568/0.3028, allocations: 12.92 MB / 0.5741 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008732/0.3115, allocations: 4.215 MB / 0.5782 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001825/0.3133, allocations: 95.62 kB / 0.5783 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00438/0.3177, allocations: 2.176 MB / 0.5804 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004837/0.3226, allocations: 2.062 MB / 0.5824 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.3241, allocations: 0.6122 MB / 0.583 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005708/0.3298, allocations: 4.299 MB / 0.5872 GB, free: 9.582 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003534/0.3333, allocations: 2.68 MB / 0.5898 GB, free: 6.848 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002502/0.3358, allocations: 1.624 MB / 0.5914 GB, free: 5.219 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003712/0.3395, allocations: 2.43 MB / 0.5938 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008702/0.3404, allocations: 340 kB / 0.5941 GB, free: 2.449 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001948/0.3423, allocations: 0.944 MB / 0.595 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002246/0.3446, allocations: 2.01 MB / 0.597 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002361/0.3469, allocations: 1.727 MB / 0.5987 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009615/0.3566, allocations: 7.808 MB / 0.6063 GB, free: 5.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/0.3566, allocations: 4 kB / 0.6063 GB, free: 5.906 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3566, allocations: 0 / 0.6063 GB, free: 5.906 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002416/0.3568, allocations: 0 / 0.6063 GB, free: 5.906 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.01011/0.3669, allocations: 5.148 MB / 0.6113 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.367, allocations: 8.031 kB / 0.6113 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001545/0.3671, allocations: 118.6 kB / 0.6114 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001351/0.3685, allocations: 0.8487 MB / 0.6123 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.3796, allocations: 3.226 MB / 0.6154 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005674/0.3853, allocations: 2.56 MB / 0.6179 GB, free: 9.875 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002463/0.3855, allocations: 254.2 kB / 0.6182 GB, free: 9.625 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009424/0.3865, allocations: 327.8 kB / 0.6185 GB, free: 9.305 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0216/0.4081, allocations: 12.24 MB / 0.6304 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000142/0.4082, allocations: 39.7 kB / 0.6305 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005802/0.4088, allocations: 155.8 kB / 0.6306 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004987/0.4138, allocations: 2.844 MB / 0.6334 GB, free: 9.496 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0213/0.4351, allocations: 11.12 MB / 0.6443 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0583/0.4934, allocations: 38.44 MB / 0.6818 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009042/0.5024, allocations: 3.588 MB / 0.6853 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003509/0.5059, allocations: 2.248 MB / 0.6875 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/0.5069, allocations: 457.2 kB / 0.6879 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.214e-05/0.507, allocations: 52.56 kB / 0.688 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 7.554e-06/0.507, allocations: 0 / 0.688 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of matching and sorting (n=267): time 0.04441/0.5514, allocations: 18.52 MB / 0.7061 GB, free: 13.95 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.5515, allocations: 77.41 kB / 0.7061 GB, free: 13.86 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004617/0.5561, allocations: 3.177 MB / 0.7092 GB, free: 10.67 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003352/0.5564, allocations: 61.7 kB / 0.7093 GB, free: 10.61 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002474/0.5589, allocations: 3.245 MB / 0.7125 GB, free: 7.332 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001205/0.5601, allocations: 1.015 MB / 0.7135 GB, free: 6.309 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00194/0.5621, allocations: 1.188 MB / 0.7146 GB, free: 5.109 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.5622, allocations: 301.1 kB / 0.7149 GB, free: 4.812 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0038/0.566, allocations: 2.459 MB / 0.7173 GB, free: 2.348 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00659/0.5726, allocations: 5.715 MB / 0.7229 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01215/0.5847, allocations: 8.969 MB / 0.7317 GB, free: 472 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000137/0.5849, allocations: 32 kB / 0.7317 GB, free: 440 kB / 0.5606 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.3081/0.893, allocations: 8.994 MB / 0.7405 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.518e-05/0.893, allocations: 54.72 kB / 0.7405 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000117/0.8931, allocations: 117.4 kB / 0.7406 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002679/0.8958, allocations: 1.056 MB / 0.7417 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003805/0.8996, allocations: 1.338 MB / 0.743 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005823/0.9054, allocations: 5.397 MB / 0.7482 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004261/0.9097, allocations: 319.7 kB / 0.7485 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/0.9107, allocations: 345.4 kB / 0.7489 GB, free: 146.9 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.004397/0.9151, allocations: 2.404 MB / 0.7512 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006963/0.9158, allocations: 325.1 kB / 0.7515 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007888/0.9237, allocations: 5.365 MB / 0.7568 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.433e-05/0.9238, allocations: 50.33 kB / 0.7568 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.9238, allocations: 4 kB / 0.7568 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.137e-05/0.9238, allocations: 7.969 kB / 0.7568 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02071/0.9445, allocations: 12.5 MB / 0.769 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.106e-05/0.9445, allocations: 12 kB / 0.769 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/0.9462, allocations: 420.2 kB / 0.7694 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002508/0.9487, allocations: 0.891 MB / 0.7703 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002447/0.9489, allocations: 58.17 kB / 0.7704 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004968/0.9539, allocations: 4.693 MB / 0.775 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/0.9539, allocations: 15.94 kB / 0.775 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/0.9642, allocations: 8.028 MB / 0.7828 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/0.9653, allocations: 301.8 kB / 0.7831 GB, free: 113 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006374/0.966, allocations: 48 kB / 0.7831 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/0.9674, allocations: 151.8 kB / 0.7833 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003816/0.9677, allocations: 177.4 kB / 0.7835 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001608/0.9679, allocations: 85.97 kB / 0.7835 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002373/0.9703, allocations: 1.957 MB / 0.7855 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9703, allocations: 0 / 0.7855 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004807/0.9751, allocations: 1.057 MB / 0.7865 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.009573/0.9847, allocations: 8.7 MB / 0.795 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007679/0.9923, allocations: 5.774 MB / 0.8006 GB, free: 94.88 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.998e-05/0.9924, allocations: 384 / 0.8006 GB, free: 94.88 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002675/0.995, allocations: 2.105 MB / 0.8027 GB, free: 92.76 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002483/0.9975, allocations: 456.6 kB / 0.8031 GB, free: 92.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05761/1.055, allocations: 47.16 MB / 0.8492 GB, free: 39.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00325/1.058, allocations: 3.175 MB / 0.8523 GB, free: 36.76 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003845/1.062, allocations: 2.157 MB / 0.8544 GB, free: 34.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002256/1.064, allocations: 2.1 MB / 0.8564 GB, free: 32.49 MB / 0.5606 GB Notification: Performance of SimCode: time 1.453e-06/1.064, allocations: 0 / 0.8564 GB, free: 32.49 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1172/1.182, allocations: 69.45 MB / 0.9242 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.19/28.38, allocations: 10.36 kB / 0.9243 GB, free: 11.54 MB / 0.6075 GB " [Timeout remaining time 631] (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: 32.45439043396618]