Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009091/0.0009089, allocations: 98.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009832/0.0009832, allocations: 206.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2304/0.2304, allocations: 45.92 MB / 344 MB, free: 12.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003231, allocations: 8 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1804, allocations: 63.46 MB / 481.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3384/0.5189, allocations: 54.7 MB / 0.5235 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03789/0.5568, allocations: 13.03 MB / 0.5362 GB, free: 6.023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01915/0.576, allocations: 278.1 kB / 0.5365 GB, free: 5.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01339/0.5895, allocations: 2.705 MB / 0.5392 GB, free: 5.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03233/0.6218, allocations: 7.821 MB / 0.5468 GB, free: 484 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005188/0.627, allocations: 0.9903 MB / 0.5478 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.07223/0.6993, allocations: 48.86 MB / 0.5955 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009964/0.7093, allocations: 5.51 MB / 0.6009 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003832/0.7132, allocations: 1.499 MB / 0.6023 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003957/0.7172, allocations: 2.013 MB / 0.6043 GB, free: 9.656 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001111/0.7183, allocations: 200 kB / 0.6045 GB, free: 9.461 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003385/0.7217, allocations: 1.124 MB / 0.6056 GB, free: 8.336 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002726/0.7244, allocations: 2.202 MB / 0.6077 GB, free: 6.129 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001529/0.726, allocations: 1.1 MB / 0.6088 GB, free: 5.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009926/0.7359, allocations: 7.521 MB / 0.6161 GB, free: 13.48 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.736, allocations: 0 / 0.6161 GB, free: 13.48 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.736, allocations: 4 kB / 0.6161 GB, free: 13.47 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003782/0.7364, allocations: 0 / 0.6161 GB, free: 13.47 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01907/0.7554, allocations: 6.098 MB / 0.6221 GB, free: 7.293 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.7555, allocations: 8.031 kB / 0.6221 GB, free: 7.285 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1645/0.92, allocations: 14.69 MB / 0.6365 GB, free: 8.566 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01301/0.933, allocations: 4.201 MB / 0.6406 GB, free: 4.281 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003639/0.9334, allocations: 304 kB / 0.6408 GB, free: 3.98 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002146/0.9356, allocations: 427.6 kB / 0.6413 GB, free: 3.562 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03217/0.9678, allocations: 13.91 MB / 0.6548 GB, free: 4.785 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002975/0.9681, allocations: 59.44 kB / 0.6549 GB, free: 4.727 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001777/0.9699, allocations: 191.8 kB / 0.6551 GB, free: 4.539 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004599/0.9745, allocations: 2.535 MB / 0.6576 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02774/1.002, allocations: 11.78 MB / 0.6691 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3167/1.319, allocations: 53.31 MB / 0.7211 GB, free: 152.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01783/1.337, allocations: 5.858 MB / 0.7268 GB, free: 152 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02143/1.358, allocations: 15.02 MB / 0.7415 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/1.358, allocations: 66.78 kB / 0.7416 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=227): time 4.228e-06/1.358, allocations: 0 / 0.7416 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=264): time 0.07547/1.434, allocations: 26.62 MB / 0.7676 GB, free: 127.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/1.434, allocations: 261.3 kB / 0.7678 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00679/1.441, allocations: 5.296 MB / 0.773 GB, free: 122 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005789/1.441, allocations: 61.7 kB / 0.773 GB, free: 121.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002203/1.444, allocations: 3.957 MB / 0.7769 GB, free: 118 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001359/1.445, allocations: 0.9872 MB / 0.7779 GB, free: 117 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003448/1.445, allocations: 144 kB / 0.778 GB, free: 116.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003093/1.446, allocations: 0.62 MB / 0.7786 GB, free: 116.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003502/1.449, allocations: 2.704 MB / 0.7813 GB, free: 113.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005023/1.454, allocations: 7.023 MB / 0.7881 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007/1.461, allocations: 4.252 MB / 0.7923 GB, free: 100.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001965/1.462, allocations: 40 kB / 0.7923 GB, free: 100.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01915/1.481, allocations: 10.06 MB / 0.8021 GB, free: 90.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.903e-05/1.481, allocations: 68 kB / 0.8022 GB, free: 90.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001495/1.481, allocations: 152 kB / 0.8023 GB, free: 90.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/1.483, allocations: 0.7319 MB / 0.8031 GB, free: 89.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005981/1.489, allocations: 1.774 MB / 0.8048 GB, free: 87.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006096/1.495, allocations: 6.464 MB / 0.8111 GB, free: 80.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006123/1.501, allocations: 411.4 kB / 0.8115 GB, free: 80.49 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001107/1.502, allocations: 445 kB / 0.8119 GB, free: 80.06 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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 (913): * Single equations (assignments): 908 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004416/1.506, allocations: 2.636 MB / 0.8145 GB, free: 77.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/1.508, allocations: 469.9 kB / 0.8149 GB, free: 76.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006215/1.514, allocations: 4.379 MB / 0.8192 GB, free: 72.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.245e-05/1.514, allocations: 28 kB / 0.8192 GB, free: 72.52 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/1.514, allocations: 8 kB / 0.8192 GB, free: 72.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.088e-05/1.514, allocations: 15.89 kB / 0.8193 GB, free: 72.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02137/1.535, allocations: 10.86 MB / 0.8299 GB, free: 61.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.966e-05/1.535, allocations: 0 / 0.8299 GB, free: 61.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002383/1.538, allocations: 0.5025 MB / 0.8304 GB, free: 61.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001274/1.539, allocations: 492.1 kB / 0.8308 GB, free: 60.65 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002361/1.539, allocations: 48.84 kB / 0.8309 GB, free: 60.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005253/1.545, allocations: 5.815 MB / 0.8366 GB, free: 54.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.545, allocations: 0 / 0.8366 GB, free: 54.53 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009642/1.554, allocations: 7.694 MB / 0.8441 GB, free: 46.75 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/1.556, allocations: 0.5144 MB / 0.8446 GB, free: 46.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007198/1.557, allocations: 40 kB / 0.8446 GB, free: 46.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00199/1.559, allocations: 168.7 kB / 0.8448 GB, free: 46 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003146/1.559, allocations: 153.7 kB / 0.8449 GB, free: 45.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001662/1.559, allocations: 75.8 kB / 0.845 GB, free: 45.78 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004354/1.563, allocations: 3.344 MB / 0.8483 GB, free: 42.45 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/1.563, allocations: 0 / 0.8483 GB, free: 42.45 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006676/1.57, allocations: 1.314 MB / 0.8495 GB, free: 41.14 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (224): * Single equations (assignments): 219 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006909/1.571, allocations: 196.7 kB / 0.8497 GB, free: 40.95 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01074/1.582, allocations: 6.766 MB / 0.8563 GB, free: 34.19 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/1.582, allocations: 0 / 0.8563 GB, free: 34.19 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003471/1.585, allocations: 2.374 MB / 0.8586 GB, free: 31.79 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004225/1.589, allocations: 0.5511 MB / 0.8592 GB, free: 31.25 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02231/1.612, allocations: 14.59 MB / 0.8734 GB, free: 16.63 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004444/1.616, allocations: 4.226 MB / 0.8776 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005735/1.622, allocations: 2.379 MB / 0.8799 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/1.623, allocations: 327.4 kB / 0.8802 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of SimCode: time 1.372e-06/1.623, allocations: 0 / 0.8802 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of Templates: time 0.3397/1.963, allocations: 46.56 MB / 0.9257 GB, free: 194.5 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches