Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.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.0008057/0.0008057, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.00085/0.00085, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8607/0.8607, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.WhyArrows,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.886e-05, allocations: 2.281 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002123/0.002142, allocations: 2.147 MB / 326.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003157/0.002458, allocations: 199.2 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.914e-05/0.002527, allocations: 4 kB / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.485e-05/0.002592, allocations: 39.64 kB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.002703, allocations: 63.36 kB / 326.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.002835, allocations: 51.92 kB / 327 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.002996, allocations: 246.8 kB / 327.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.003153, allocations: 82.91 kB / 327.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.003269, allocations: 139.8 kB / 327.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.74e-05/0.003367, allocations: 67.78 kB / 327.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.003397, allocations: 20 kB / 327.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.039e-05/0.003418, allocations: 20 kB / 327.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.216e-05/0.00345, allocations: 51.83 kB / 327.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.235e-05/0.003502, allocations: 75.83 kB / 327.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.003703, allocations: 263.1 kB / 327.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.003705, allocations: 3.938 kB / 327.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.003706, allocations: 0 / 327.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.00371, allocations: 4 kB / 327.9 MB, free: 12.44 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0004779/0.004188, allocations: 437.8 kB / 328.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.004224, allocations: 15.98 kB / 328.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.202e-05/0.004266, allocations: 58.72 kB / 328.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.004298, allocations: 28.73 kB / 328.5 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.004448, allocations: 164.4 kB / 328.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.004464, allocations: 20.88 kB / 328.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.004492, allocations: 20.38 kB / 328.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.004735, allocations: 232 kB / 328.9 MB, free: 11.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.004747, allocations: 192 / 328.9 MB, free: 11.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.004764, allocations: 12.38 kB / 328.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.004772, allocations: 8.125 kB / 328.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.004933, allocations: 135.8 kB / 329.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007148/0.005648, allocations: 0.7824 MB / 329.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.005814, allocations: 155.7 kB / 330 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.284e-05/0.005877, allocations: 54.56 kB / 330 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.005886, allocations: 4 kB / 330.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.005905, allocations: 42.55 kB / 330.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 9.62e-07/0.005905, allocations: 0 / 330.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002632/0.006169, allocations: 177.6 kB / 330.3 MB, free: 9.934 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.006208, allocations: 102.8 kB / 330.4 MB, free: 9.809 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.006339, allocations: 207.6 kB / 330.6 MB, free: 9.598 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.006351, allocations: 29.7 kB / 330.6 MB, free: 9.562 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.852e-05/0.006419, allocations: 164.2 kB / 330.8 MB, free: 9.398 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.006452, allocations: 67.42 kB / 330.8 MB, free: 9.332 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.006501, allocations: 53.94 kB / 330.9 MB, free: 9.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.786e-05/0.006579, allocations: 326.8 kB / 331.2 MB, free: 8.941 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.671e-05/0.006636, allocations: 44.55 kB / 331.2 MB, free: 8.898 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.00674, allocations: 163.8 kB / 331.4 MB, free: 8.691 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004219/0.007162, allocations: 221.5 kB / 331.6 MB, free: 8.426 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.007165, allocations: 4 kB / 331.6 MB, free: 8.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002277/0.007393, allocations: 241.9 kB / 331.9 MB, free: 8.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.007406, allocations: 8 kB / 331.9 MB, free: 8.172 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.007413, allocations: 7.938 kB / 331.9 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.007428, allocations: 7.938 kB / 331.9 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.007546, allocations: 60.36 kB / 331.9 MB, free: 8.098 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.007554, allocations: 12.14 kB / 331.9 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/0.007626, allocations: 31.78 kB / 332 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.007636, allocations: 8 kB / 332 MB, free: 8.047 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.621e-05/0.007712, allocations: 141.7 kB / 332.1 MB, free: 7.898 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.007749, allocations: 23.8 kB / 332.1 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/0.007781, allocations: 25.45 kB / 332.2 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.007786, allocations: 7.938 kB / 332.2 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.00779, allocations: 0 / 332.2 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.007794, allocations: 4 kB / 332.2 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/0.008126, allocations: 380 kB / 332.6 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.008128, allocations: 0 / 332.6 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.008232, allocations: 39.97 kB / 332.6 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.008235, allocations: 4 kB / 332.6 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.008246, allocations: 4 kB / 332.6 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.008249, allocations: 7.984 kB / 332.6 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.008251, allocations: 3.938 kB / 332.6 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.008504, allocations: 368.6 kB / 333 MB, free: 6.969 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.008524, allocations: 27.8 kB / 333 MB, free: 6.941 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.008542, allocations: 12.12 kB / 333 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.008614, allocations: 4 kB / 333 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.008632, allocations: 11.92 kB / 333 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.008638, allocations: 4 kB / 333 MB, free: 6.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.299e-05/0.008711, allocations: 143.2 kB / 333.2 MB, free: 6.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008711, allocations: 0 / 333.2 MB, free: 6.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002345/0.008945, allocations: 59.83 kB / 333.2 MB, free: 6.711 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003963/0.009341, allocations: 0.8937 MB / 334.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.009519, allocations: 139.8 kB / 334.3 MB, free: 5.645 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.009521, allocations: 0 / 334.3 MB, free: 5.645 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.666e-05/0.009567, allocations: 47.86 kB / 334.3 MB, free: 5.598 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.009892, allocations: 43.61 kB / 334.4 MB, free: 5.559 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.01163, allocations: 2.464 MB / 336.8 MB, free: 2.887 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.721e-05/0.0117, allocations: 121.2 kB / 336.9 MB, free: 2.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.684e-05/0.01176, allocations: 25.88 kB / 337 MB, free: 2.719 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.398e-05/0.01185, allocations: 60.48 kB / 337 MB, free: 2.66 MB / 298.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01185, allocations: 0 / 337 MB, free: 2.66 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.03034, allocations: 4.464 MB / 341.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.745/6.775, allocations: 14.31 kB / 341.5 MB, free: 14.31 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.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: 8.468899890780449]