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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001174/0.001174, allocations: 105.8 kB / 17.2 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001258/0.001258, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 58.69 kB / 306.4 MB, free: 0.9297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08752/0.08872, allocations: 50.54 MB / 356.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.006452/0.0952, allocations: 6.203 MB / 363.1 MB, free: 8.145 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00372/0.09894, allocations: 2.267 MB / 365.4 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008096/0.09979, allocations: 31.81 kB / 365.4 MB, free: 5.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008685/0.1007, allocations: 374.2 kB / 365.8 MB, free: 5.473 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.1018, allocations: 425.6 kB / 366.2 MB, free: 5.055 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009859/0.1028, allocations: 439.4 kB / 366.6 MB, free: 4.625 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.1044, allocations: 1.406 MB / 368 MB, free: 3.211 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006863/0.105, allocations: 491.5 kB / 368.5 MB, free: 2.703 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007038/0.1058, allocations: 0.4939 MB / 369 MB, free: 2.207 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007226/0.1065, allocations: 0.6104 MB / 369.6 MB, free: 1.594 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.1067, allocations: 76 kB / 369.7 MB, free: 1.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002765/0.1069, allocations: 116 kB / 369.8 MB, free: 1.406 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.1072, allocations: 246.9 kB / 370 MB, free: 1.164 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000482/0.1076, allocations: 0.5864 MB / 370.6 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1349/0.2426, allocations: 1.573 MB / 372.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.2426, allocations: 0 / 372.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2426, allocations: 0 / 372.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.419e-05/0.2427, allocations: 0 / 372.2 MB, free: 12.16 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.003292/0.246, allocations: 1.557 MB / 373.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.246, allocations: 10 kB / 373.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002678/0.2463, allocations: 150.1 kB / 373.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004794/0.2468, allocations: 152.8 kB / 374 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.248, allocations: 0.7505 MB / 374.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.616e-05/0.248, allocations: 76.95 kB / 374.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.2482, allocations: 111.6 kB / 375 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.2499, allocations: 0.9131 MB / 375.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.397e-05/0.25, allocations: 9.25 kB / 375.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.471e-05/0.2501, allocations: 41.31 kB / 375.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.2501, allocations: 23.38 kB / 376 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.2513, allocations: 0.6369 MB / 376.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004592/0.2559, allocations: 3.226 MB / 379.8 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.2572, allocations: 0.6218 MB / 380.4 MB, free: 9.465 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004792/0.2577, allocations: 298.2 kB / 380.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.858e-05/0.2577, allocations: 14.12 kB / 380.8 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006531/0.2584, allocations: 346 kB / 381.1 MB, free: 9.191 MB / 302.1 MB Notification: Performance of pre-optimization done (n=80): time 2.544e-06/0.2584, allocations: 0 / 381.1 MB, free: 9.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.005319/0.2637, allocations: 3.062 MB / 384.2 MB, free: 7.574 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.2638, allocations: 65.73 kB / 384.2 MB, free: 7.512 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.2648, allocations: 0.9444 MB / 385.2 MB, free: 7.148 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/0.2648, allocations: 40.64 kB / 385.2 MB, free: 7.105 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/0.2651, allocations: 0.5092 MB / 385.7 MB, free: 6.703 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.2653, allocations: 344.6 kB / 386 MB, free: 6.438 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.2655, allocations: 163.6 kB / 386.2 MB, free: 6.352 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.421e-05/0.2656, allocations: 350.6 kB / 386.5 MB, free: 6.023 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004863/0.2661, allocations: 271.4 kB / 386.8 MB, free: 5.922 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/0.2666, allocations: 431.8 kB / 387.2 MB, free: 5.664 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.2676, allocations: 0.7408 MB / 388 MB, free: 5.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2676, allocations: 4.719 kB / 388 MB, free: 5.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001532/0.2692, allocations: 1.023 MB / 389 MB, free: 4.797 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.2692, allocations: 7.219 kB / 389 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.2692, allocations: 4.703 kB / 389 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003887/0.2696, allocations: 151.9 kB / 389.2 MB, free: 4.746 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006882/0.2703, allocations: 208.3 kB / 389.4 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002484/0.2728, allocations: 3.618 MB / 393 MB, free: 1.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/0.2732, allocations: 35.12 kB / 393 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.748e-05/0.2733, allocations: 39 kB / 393.1 MB, free: 1.5 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.0003412/0.2737, allocations: 307.2 kB / 393.4 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.2738, allocations: 107.3 kB / 393.5 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.2753, allocations: 0.9517 MB / 394.4 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.2754, allocations: 9.281 kB / 394.4 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2754, allocations: 3.625 kB / 394.4 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/0.2754, allocations: 9.094 kB / 394.4 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003473/0.2789, allocations: 2.505 MB / 396.9 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/0.2789, allocations: 1.75 kB / 396.9 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007088/0.2796, allocations: 183.3 kB / 397.1 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003447/0.28, allocations: 129.8 kB / 397.2 MB, free: 15.31 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.5e-05/0.28, allocations: 28.73 kB / 397.3 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002544/0.2826, allocations: 3.289 MB / 400.6 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.2826, allocations: 8.172 kB / 400.6 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.2846, allocations: 1.425 MB / 402 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000298/0.2849, allocations: 242.1 kB / 402.2 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.2851, allocations: 32.53 kB / 402.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004037/0.2855, allocations: 24.73 kB / 402.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.2856, allocations: 72.09 kB / 402.4 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/0.2857, allocations: 33.17 kB / 402.4 MB, free: 11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007142/0.2864, allocations: 0.6696 MB / 403.1 MB, free: 10.65 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2864, allocations: 0 / 403.1 MB, free: 10.65 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007929/0.2872, allocations: 249.6 kB / 403.3 MB, free: 10.61 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.003135/0.2903, allocations: 2.32 MB / 405.6 MB, free: 8.695 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.292, allocations: 1.027 MB / 406.7 MB, free: 7.664 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.292, allocations: 4 kB / 406.7 MB, free: 7.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009389/0.2929, allocations: 0.6964 MB / 407.4 MB, free: 6.965 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009041/0.2938, allocations: 183.8 kB / 407.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.3062, allocations: 9.724 MB / 417.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006224/0.3068, allocations: 1.104 MB / 418.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003854/0.3072, allocations: 115.6 kB / 418.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004997/0.3077, allocations: 451.3 kB / 418.9 MB, free: 10.99 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3077, allocations: 0 / 418.9 MB, free: 10.99 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.735/3.043, allocations: 20.11 MB / 439 MB, free: 7.121 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000285/3.043, allocations: 268 kB / 439.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.927/5.97, allocations: 0 / 439.3 MB, free: 6.766 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Vehicle_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Vehicle.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches