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.001358/0.001358, allocations: 107.1 kB / 17.32 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001603/0.001603, allocations: 205.8 kB / 18.26 MB, free: 4.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 59.53 kB / 306.4 MB, free: 0.9375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1441, allocations: 50.54 MB / 357 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.01197/0.1561, allocations: 6.214 MB / 363.2 MB, free: 8.145 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006023/0.1622, allocations: 2.259 MB / 365.4 MB, free: 5.879 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007925/0.163, allocations: 31.88 kB / 365.5 MB, free: 5.848 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.1642, allocations: 362.2 kB / 365.8 MB, free: 5.492 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.1657, allocations: 437.5 kB / 366.3 MB, free: 5.062 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.167, allocations: 431.5 kB / 366.7 MB, free: 4.641 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002124/0.1692, allocations: 1.496 MB / 368.2 MB, free: 3.137 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.1703, allocations: 0.5435 MB / 368.7 MB, free: 2.566 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009835/0.1713, allocations: 0.5642 MB / 369.3 MB, free: 2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009535/0.1723, allocations: 0.6495 MB / 369.9 MB, free: 1.348 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002224/0.1725, allocations: 132 kB / 370.1 MB, free: 1.219 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003959/0.1729, allocations: 176 kB / 370.2 MB, free: 1.047 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003428/0.1733, allocations: 310.8 kB / 370.5 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007214/0.174, allocations: 0.6527 MB / 371.2 MB, free: 88 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2048/0.3788, allocations: 1.623 MB / 372.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3789, allocations: 1.094 kB / 372.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.3789, allocations: 0.8438 kB / 372.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.44e-05/0.3789, allocations: 0 / 372.8 MB, free: 11.37 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.00283/0.3818, allocations: 1.558 MB / 374.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.3818, allocations: 10.86 kB / 374.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004152/0.3823, allocations: 150.1 kB / 374.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009867/0.3832, allocations: 0.7503 MB / 375.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.782e-05/0.3833, allocations: 75.78 kB / 375.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.3835, allocations: 104.2 kB / 375.5 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.3852, allocations: 0.9177 MB / 376.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.486e-05/0.3853, allocations: 8.875 kB / 376.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.147e-05/0.3853, allocations: 39.3 kB / 376.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.3854, allocations: 23.38 kB / 376.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.3866, allocations: 0.6389 MB / 377.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005005/0.3916, allocations: 3.235 MB / 380.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.3932, allocations: 0.6142 MB / 380.9 MB, free: 8.672 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005685/0.3938, allocations: 302.7 kB / 381.2 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.897e-05/0.3938, allocations: 13.41 kB / 381.2 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007701/0.3946, allocations: 341.3 kB / 381.6 MB, free: 8.402 MB / 302.1 MB Notification: Performance of pre-optimization done (n=80): time 2.514e-06/0.3946, allocations: 4 kB / 381.6 MB, free: 8.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.005894/0.4005, allocations: 3.059 MB / 384.6 MB, free: 6.781 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.4006, allocations: 62.03 kB / 384.7 MB, free: 6.719 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.4019, allocations: 0.9404 MB / 385.6 MB, free: 6.359 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.232e-05/0.402, allocations: 45.2 kB / 385.7 MB, free: 6.312 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003419/0.4024, allocations: 0.5168 MB / 386.2 MB, free: 5.906 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.4025, allocations: 345.9 kB / 386.5 MB, free: 5.641 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.4028, allocations: 166.1 kB / 386.7 MB, free: 5.555 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.393e-05/0.4028, allocations: 346.2 kB / 387 MB, free: 5.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004781/0.4033, allocations: 270.6 kB / 387.3 MB, free: 5.129 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005571/0.4039, allocations: 431.5 kB / 387.7 MB, free: 4.867 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.4049, allocations: 0.7401 MB / 388.5 MB, free: 4.438 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.405, allocations: 1.312 kB / 388.5 MB, free: 4.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001714/0.4067, allocations: 1.032 MB / 389.5 MB, free: 4.004 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.4067, allocations: 6.312 kB / 389.5 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.4067, allocations: 4.25 kB / 389.5 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004234/0.4072, allocations: 151.2 kB / 389.7 MB, free: 3.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000759/0.4079, allocations: 206.4 kB / 389.9 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/0.4109, allocations: 3.993 MB / 393.8 MB, free: 396 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/0.4114, allocations: 30.47 kB / 393.9 MB, free: 376 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-05/0.4114, allocations: 37.14 kB / 393.9 MB, free: 368 kB / 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.0004413/0.4119, allocations: 303.3 kB / 394.2 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.412, allocations: 108.9 kB / 394.3 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002071/0.4141, allocations: 0.9834 MB / 395.3 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.4141, allocations: 9.625 kB / 395.3 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4142, allocations: 9.531 kB / 395.3 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.4142, allocations: 6.984 kB / 395.3 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003982/0.4182, allocations: 2.501 MB / 397.8 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.4182, allocations: 2.312 kB / 397.8 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007506/0.4189, allocations: 188.5 kB / 398 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003514/0.4193, allocations: 119.8 kB / 398.1 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.4194, allocations: 30.27 kB / 398.2 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002948/0.4223, allocations: 3.604 MB / 401.8 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.4223, allocations: 6.75 kB / 401.8 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/0.4245, allocations: 1.423 MB / 403.2 MB, free: 9.895 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003732/0.4249, allocations: 245.8 kB / 403.4 MB, free: 9.672 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.425, allocations: 24.66 kB / 403.5 MB, free: 9.656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/0.4255, allocations: 29.92 kB / 403.5 MB, free: 9.637 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.4256, allocations: 74.81 kB / 403.6 MB, free: 9.602 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.544e-05/0.4257, allocations: 32.98 kB / 403.6 MB, free: 9.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007755/0.4265, allocations: 0.6707 MB / 404.3 MB, free: 9.242 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.82e-07/0.4265, allocations: 0 / 404.3 MB, free: 9.242 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009276/0.4274, allocations: 244.4 kB / 404.5 MB, free: 9.207 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.0009958/0.4284, allocations: 448.8 kB / 404.9 MB, free: 8.984 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002223/0.4306, allocations: 1.087 MB / 406 MB, free: 8.363 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4307, allocations: 1.625 kB / 406 MB, free: 8.363 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009882/0.4316, allocations: 0.7026 MB / 406.7 MB, free: 7.703 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.4327, allocations: 178.6 kB / 406.9 MB, free: 7.531 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00403/0.4367, allocations: 3.074 MB / 410 MB, free: 4.418 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006401/0.4374, allocations: 1.1 MB / 411.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000433/0.4378, allocations: 119.6 kB / 411.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.438, allocations: 75.42 kB / 411.3 MB, free: 3.098 MB / 318.1 MB Notification: Performance of SimCode: time 4.2e-07/0.438, allocations: 0 / 411.3 MB, free: 3.098 MB / 318.1 MB Notification: Performance of Templates: time 0.01852/0.4565, allocations: 10.9 MB / 422.2 MB, free: 8.309 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