Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.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) 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(Modelica.Mechanics.Translational.Examples.Vehicle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle") translateModel(Modelica.Mechanics.Translational.Examples.Vehicle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001179/0.001179, allocations: 103.3 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001194/0.001194, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.3 MB, free: 9.062 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 68.67 kB / 306.3 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1172, allocations: 50.53 MB / 356.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.006617/0.1238, allocations: 6.224 MB / 363 MB, free: 8.047 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003893/0.1277, allocations: 2.263 MB / 365.3 MB, free: 5.777 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006452/0.1284, allocations: 27.88 kB / 365.3 MB, free: 5.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007991/0.1293, allocations: 362.2 kB / 365.7 MB, free: 5.395 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009826/0.1303, allocations: 433.6 kB / 366.1 MB, free: 4.969 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008564/0.1312, allocations: 439.5 kB / 366.5 MB, free: 4.539 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.1324, allocations: 1.418 MB / 367.9 MB, free: 3.113 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006135/0.1331, allocations: 487.6 kB / 368.4 MB, free: 2.609 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005781/0.1337, allocations: 497.8 kB / 368.9 MB, free: 2.121 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005571/0.1342, allocations: 0.6066 MB / 369.5 MB, free: 1.512 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.1343, allocations: 72 kB / 369.6 MB, free: 1.441 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000258/0.1346, allocations: 119.9 kB / 369.7 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.1348, allocations: 254.8 kB / 369.9 MB, free: 1.074 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004584/0.1353, allocations: 0.5942 MB / 370.5 MB, free: 488 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1774/0.3127, allocations: 1.56 MB / 372.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.3128, allocations: 0 / 372.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3128, allocations: 1.281 kB / 372.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.089e-05/0.3128, allocations: 0 / 372.1 MB, free: 12.71 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002922/0.3158, allocations: 1.561 MB / 373.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.3158, allocations: 9.75 kB / 373.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004131/0.3162, allocations: 150.3 kB / 373.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.3173, allocations: 0.7553 MB / 374.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.261e-05/0.3174, allocations: 73.38 kB / 374.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/0.3176, allocations: 107 kB / 374.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.3194, allocations: 0.9145 MB / 375.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.626e-05/0.3195, allocations: 8.625 kB / 375.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.312e-05/0.3196, allocations: 42.91 kB / 375.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.973e-05/0.3197, allocations: 25.31 kB / 375.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.321, allocations: 0.6351 MB / 376.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004829/0.3258, allocations: 3.232 MB / 379.6 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.3272, allocations: 0.6165 MB / 380.2 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005508/0.3278, allocations: 301.1 kB / 380.5 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.878e-05/0.3278, allocations: 13.33 kB / 380.5 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007242/0.3286, allocations: 343.7 kB / 380.9 MB, free: 9.477 MB / 302.1 MB Notification: Performance of pre-optimization done (n=80): time 3.437e-06/0.3286, allocations: 1.594 kB / 380.9 MB, free: 9.477 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.00574/0.3343, allocations: 3.063 MB / 383.9 MB, free: 7.863 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.3344, allocations: 66.72 kB / 384 MB, free: 7.797 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.3356, allocations: 0.9396 MB / 384.9 MB, free: 7.438 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.098e-05/0.3357, allocations: 42.02 kB / 385 MB, free: 7.395 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/0.336, allocations: 0.5153 MB / 385.5 MB, free: 6.988 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.3362, allocations: 345.8 kB / 385.8 MB, free: 6.723 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.3365, allocations: 160.4 kB / 386 MB, free: 6.641 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.375e-05/0.3366, allocations: 347.1 kB / 386.3 MB, free: 6.316 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005188/0.3371, allocations: 271.1 kB / 386.6 MB, free: 6.211 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005776/0.3377, allocations: 428.9 kB / 387 MB, free: 5.949 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.3388, allocations: 0.7518 MB / 387.7 MB, free: 5.516 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3388, allocations: 1.031 kB / 387.7 MB, free: 5.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001932/0.3408, allocations: 1.027 MB / 388.8 MB, free: 5.082 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.3408, allocations: 9 kB / 388.8 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.3408, allocations: 3.594 kB / 388.8 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004917/0.3413, allocations: 150.2 kB / 388.9 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008239/0.3422, allocations: 205.2 kB / 389.1 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003024/0.3452, allocations: 3.608 MB / 392.7 MB, free: 1.816 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000631/0.3458, allocations: 37.05 kB / 392.8 MB, free: 1.797 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.358e-05/0.3459, allocations: 37.52 kB / 392.8 MB, free: 1.789 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timeTableTorqueInclination.nextTimeEvent,$whenCondition1,timeTableTorqueInclination.nextTimeEventScaled,$PRE.timeTableTorqueInclination.nextTimeEventScaled,timeTableTorqueInclination.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005296/0.3464, allocations: 311.9 kB / 393.1 MB, free: 1.574 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.3466, allocations: 105.4 kB / 393.2 MB, free: 1.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.3483, allocations: 0.9537 MB / 394.2 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.3483, allocations: 9.719 kB / 394.2 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3483, allocations: 4.031 kB / 394.2 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.3483, allocations: 6.234 kB / 394.2 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00378/0.3521, allocations: 2.504 MB / 396.7 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.3522, allocations: 3.938 kB / 396.7 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007753/0.3529, allocations: 180.8 kB / 396.9 MB, free: 15.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000384/0.3533, allocations: 129.4 kB / 397 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-05/0.3534, allocations: 32.86 kB / 397 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002831/0.3562, allocations: 3.289 MB / 400.3 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.3563, allocations: 7.781 kB / 400.3 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/0.3586, allocations: 1.425 MB / 401.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/0.359, allocations: 242.1 kB / 402 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.3591, allocations: 32.67 kB / 402 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004196/0.3595, allocations: 21.09 kB / 402 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.3597, allocations: 76.36 kB / 402.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.664e-05/0.3598, allocations: 31.97 kB / 402.2 MB, free: 11.26 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008393/0.3606, allocations: 0.6679 MB / 402.8 MB, free: 10.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3606, allocations: 0 / 402.8 MB, free: 10.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001008/0.3616, allocations: 240.8 kB / 403.1 MB, free: 10.88 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 10 (vehicle.mass.s,vehicle.mass.v,vehicle.windSpeed.s,vehicle.windSpeed.v,vehicle1.mass.s,vehicle1.mass.v,vehicle1.windSpeed.s,vehicle1.windSpeed.v,trailer.windSpeed.s,trailer.windSpeed.v) * Number of discrete variables: 3 ($whenCondition1,timeTableTorqueInclination.nextTimeEvent,timeTableTorqueInclination.nextTimeEventScaled) * Number of discrete states: 2 (timeTableTorqueInclination.nextTimeEvent,timeTableTorqueInclination.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,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.001056/0.3627, allocations: 444.3 kB / 403.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.3647, allocations: 1.038 MB / 404.5 MB, free: 9.973 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.3647, allocations: 4 kB / 404.5 MB, free: 9.969 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.3658, allocations: 0.6938 MB / 405.2 MB, free: 9.273 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.3669, allocations: 173.6 kB / 405.4 MB, free: 9.105 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004579/0.3715, allocations: 3.072 MB / 408.5 MB, free: 5.996 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007839/0.3723, allocations: 1.104 MB / 409.6 MB, free: 4.867 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004688/0.3728, allocations: 121.8 kB / 409.7 MB, free: 4.746 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.373, allocations: 75.42 kB / 409.8 MB, free: 4.672 MB / 318.1 MB Notification: Performance of SimCode: time 1.413e-06/0.373, allocations: 0 / 409.8 MB, free: 4.672 MB / 318.1 MB Notification: Performance of Templates: time 0.02194/0.395, allocations: 10.46 MB / 420.2 MB, free: 10.31 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches