Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00419/0.00419, allocations: 165.6 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8081/0.8081, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.968e-05, allocations: 2.281 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002364/0.002383, allocations: 2.114 MB / 300.5 MB, free: 1.383 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003934/0.002777, allocations: 187.3 kB / 300.7 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.289e-05/0.00286, allocations: 7.938 kB / 300.7 MB, free: 1.191 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.56e-05/0.002925, allocations: 43.64 kB / 300.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.003046, allocations: 63.36 kB / 300.8 MB, free: 1.086 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.003196, allocations: 47.92 kB / 300.9 MB, free: 1.039 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.003368, allocations: 242.8 kB / 301.1 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.003523, allocations: 78.95 kB / 301.2 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.003649, allocations: 143.7 kB / 301.3 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.698e-05/0.003746, allocations: 75.77 kB / 301.4 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.003777, allocations: 24 kB / 301.4 MB, free: 500 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2e-05/0.003797, allocations: 20 kB / 301.5 MB, free: 480 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.303e-05/0.00383, allocations: 51.83 kB / 301.5 MB, free: 428 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.465e-05/0.003885, allocations: 75.83 kB / 301.6 MB, free: 352 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.004084, allocations: 255.2 kB / 301.8 MB, free: 96 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.004087, allocations: 0 / 301.8 MB, free: 96 kB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004088, allocations: 0 / 301.8 MB, free: 96 kB / 282.7 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.004092, allocations: 4 kB / 301.8 MB, free: 92 kB / 282.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.1238/0.1279, allocations: 437.6 kB / 302.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.128, allocations: 13.52 kB / 302.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.082e-05/0.128, allocations: 61.94 kB / 302.3 MB, free: 14.44 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.128, allocations: 25.19 kB / 302.4 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.1282, allocations: 164.5 kB / 302.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.1282, allocations: 13.95 kB / 302.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.1283, allocations: 24.03 kB / 302.6 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003077/0.1286, allocations: 233.3 kB / 302.8 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.1286, allocations: 3.516 kB / 302.8 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.1286, allocations: 12.94 kB / 302.8 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.1286, allocations: 10.28 kB / 302.8 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.1288, allocations: 128.2 kB / 302.9 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008614/0.1297, allocations: 0.7769 MB / 303.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.1299, allocations: 154.8 kB / 303.9 MB, free: 13.63 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.341e-05/0.13, allocations: 59.52 kB / 303.9 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.13, allocations: 5.562 kB / 303.9 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.13, allocations: 37.28 kB / 304 MB, free: 13.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.472e-06/0.13, allocations: 1.094 kB / 304 MB, free: 13.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003253/0.1303, allocations: 172.6 kB / 304.1 MB, free: 13.53 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.1304, allocations: 107.6 kB / 304.2 MB, free: 13.4 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.1305, allocations: 204.2 kB / 304.4 MB, free: 13.29 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.1305, allocations: 29.73 kB / 304.5 MB, free: 13.26 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.1306, allocations: 161.5 kB / 304.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.1306, allocations: 64.86 kB / 304.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/0.1307, allocations: 55.88 kB / 304.8 MB, free: 13.07 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.1307, allocations: 325.7 kB / 305.1 MB, free: 12.76 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.861e-05/0.1308, allocations: 51.08 kB / 305.1 MB, free: 12.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.746e-05/0.1309, allocations: 158.3 kB / 305.3 MB, free: 12.6 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.131, allocations: 232.6 kB / 305.5 MB, free: 12.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.131, allocations: 1.375 kB / 305.5 MB, free: 12.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002486/0.1313, allocations: 236.8 kB / 305.7 MB, free: 12.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1313, allocations: 9.109 kB / 305.7 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1313, allocations: 3.344 kB / 305.7 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.1313, allocations: 9.938 kB / 305.8 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.1315, allocations: 65.47 kB / 305.8 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.1315, allocations: 10.81 kB / 305.8 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.276e-05/0.1316, allocations: 29.45 kB / 305.9 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.1316, allocations: 11.31 kB / 305.9 MB, free: 12.26 MB / 282.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 6.841e-05/0.1316, allocations: 141.7 kB / 306 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.1317, allocations: 17.73 kB / 306 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.706e-05/0.1317, allocations: 24.44 kB / 306 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.1317, allocations: 6.312 kB / 306.1 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1317, allocations: 4.438 kB / 306.1 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1317, allocations: 6.625 kB / 306.1 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.132, allocations: 380.3 kB / 306.4 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.132, allocations: 2.016 kB / 306.4 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.1322, allocations: 37.91 kB / 306.5 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1322, allocations: 4.969 kB / 306.5 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1322, allocations: 6.312 kB / 306.5 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1322, allocations: 2.672 kB / 306.5 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1322, allocations: 1.094 kB / 306.5 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.1324, allocations: 379.7 kB / 306.9 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.1324, allocations: 23.14 kB / 306.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.1325, allocations: 2.891 kB / 306.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.1325, allocations: 6.812 kB / 306.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/0.1326, allocations: 11.61 kB / 306.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.1326, allocations: 9.125 kB / 306.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.491e-05/0.1326, allocations: 136.6 kB / 307 MB, free: 11.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1326, allocations: 0 / 307 MB, free: 11.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000241/0.1329, allocations: 61.45 kB / 307.1 MB, free: 11.32 MB / 282.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.0003036/0.1332, allocations: 0.9039 MB / 308 MB, free: 10.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.1333, allocations: 136.5 kB / 308.1 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.1333, allocations: 0 / 308.1 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.434e-05/0.1334, allocations: 50.7 kB / 308.2 MB, free: 10.44 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.1338, allocations: 38.09 kB / 308.2 MB, free: 10.42 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.1357, allocations: 2.471 MB / 310.7 MB, free: 8.418 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.1358, allocations: 126.2 kB / 310.8 MB, free: 8.336 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.396e-05/0.1358, allocations: 21.62 kB / 310.8 MB, free: 8.332 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.65e-05/0.1359, allocations: 55.48 kB / 310.9 MB, free: 8.293 MB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1359, allocations: 0 / 310.9 MB, free: 8.293 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.1527, allocations: 4.46 MB / 315.4 MB, free: 6.965 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.101/7.254, allocations: 12.97 kB / 315.4 MB, free: 6.953 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.840011059306562]