Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00136/0.00136, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001498/0.001498, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 51.92 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1138, allocations: 53.32 MB / 426.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003797/0.1176, allocations: 2.278 MB / 428.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005662/0.1181, allocations: 199.2 kB / 428.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.1183, allocations: 4 kB / 428.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.1184, allocations: 35.64 kB / 428.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.1187, allocations: 67.36 kB / 428.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.1189, allocations: 51.94 kB / 428.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003162/0.1192, allocations: 231 kB / 429.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.1194, allocations: 82.59 kB / 429.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.1195, allocations: 91.7 kB / 429.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.1197, allocations: 103.5 kB / 429.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.465e-05/0.1198, allocations: 27.88 kB / 429.5 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.01e-05/0.1198, allocations: 20 kB / 429.5 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.348e-05/0.1199, allocations: 47.84 kB / 429.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.12, allocations: 115.5 kB / 429.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.1203, allocations: 258.9 kB / 429.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1203, allocations: 3.938 kB / 429.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1203, allocations: 0 / 429.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.1204, allocations: 0 / 429.9 MB, free: 1.207 MB / 350.1 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.0009427/0.1213, allocations: 0.5068 MB / 430.4 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1214, allocations: 12.03 kB / 430.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.61e-05/0.1214, allocations: 58.72 kB / 430.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.274e-05/0.1215, allocations: 24.8 kB / 430.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.1218, allocations: 216.1 kB / 430.7 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.1218, allocations: 16.94 kB / 430.7 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/0.1218, allocations: 28.33 kB / 430.7 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.1223, allocations: 232.8 kB / 431 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.1223, allocations: 7.938 kB / 431 MB, free: 0 / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.2001/0.3224, allocations: 6.141 kB / 431 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.3224, allocations: 4.75 kB / 431 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.3227, allocations: 133.8 kB / 431.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.3238, allocations: 0.8585 MB / 432 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.324, allocations: 148.6 kB / 432.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.636e-05/0.3241, allocations: 63.73 kB / 432.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.3241, allocations: 5.062 kB / 432.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.3242, allocations: 40.77 kB / 432.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 2.084e-06/0.3242, allocations: 0 / 432.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.000369/0.3245, allocations: 167 kB / 432.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.3246, allocations: 110.1 kB / 432.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.3247, allocations: 194.6 kB / 432.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.3247, allocations: 29.23 kB / 432.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.3248, allocations: 159.2 kB / 432.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.3249, allocations: 70.06 kB / 432.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.775e-05/0.3249, allocations: 49.11 kB / 433 MB, free: 10 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.17e-05/0.325, allocations: 332.1 kB / 433.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.702e-05/0.3251, allocations: 50.17 kB / 433.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.3252, allocations: 155.9 kB / 433.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.3254, allocations: 223.7 kB / 433.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3254, allocations: 3.531 kB / 433.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003098/0.3257, allocations: 245.8 kB / 434 MB, free: 9.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3257, allocations: 10.66 kB / 434 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3257, allocations: 5.625 kB / 434 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3257, allocations: 6.062 kB / 434 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.3259, allocations: 57.09 kB / 434.1 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.326, allocations: 10.44 kB / 434.1 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.3261, allocations: 30.38 kB / 434.1 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.3261, allocations: 18.25 kB / 434.1 MB, free: 9.383 MB / 350.1 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 8.747e-05/0.3262, allocations: 136.5 kB / 434.3 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-05/0.3263, allocations: 24.59 kB / 434.3 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.398e-05/0.3263, allocations: 22.98 kB / 434.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.3263, allocations: 2.188 kB / 434.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3263, allocations: 1.188 kB / 434.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.3264, allocations: 4.641 kB / 434.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004521/0.3268, allocations: 433.5 kB / 434.7 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3268, allocations: 2.688 kB / 434.7 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.327, allocations: 42.59 kB / 434.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.327, allocations: 1.125 kB / 434.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.327, allocations: 2.688 kB / 434.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.327, allocations: 2.844 kB / 434.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.327, allocations: 4.594 kB / 434.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.3273, allocations: 388.5 kB / 435.2 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.738e-05/0.3274, allocations: 98.66 kB / 435.3 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.3274, allocations: 7.875 kB / 435.3 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.3275, allocations: 4.75 kB / 435.3 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.3276, allocations: 15.08 kB / 435.3 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.3276, allocations: 5.281 kB / 435.3 MB, free: 8.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.847e-05/0.3277, allocations: 134.6 kB / 435.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3277, allocations: 1.094 kB / 435.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003713/0.328, allocations: 54.55 kB / 435.5 MB, free: 8.477 MB / 350.1 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.0004368/0.3285, allocations: 0.9048 MB / 436.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002544/0.3287, allocations: 145.4 kB / 436.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.3287, allocations: 0 / 436.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.985e-05/0.3288, allocations: 48.98 kB / 436.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.3293, allocations: 40.34 kB / 436.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.3316, allocations: 2.55 MB / 439.2 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.3317, allocations: 0.7355 MB / 439.9 MB, free: 4.891 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.274e-05/0.3318, allocations: 21.83 kB / 439.9 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.984e-05/0.3319, allocations: 59.73 kB / 440 MB, free: 4.836 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3319, allocations: 0 / 440 MB, free: 4.836 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.3608, allocations: 3.772 MB / 443.7 MB, free: 4.297 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.736/8.097, allocations: 10.17 kB / 443.8 MB, free: 4.289 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 10.633394569988013]