Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.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.001212/0.001212, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001364/0.001364, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.557/1.557, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.InitialConditions,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 51.92 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1113, allocations: 53.32 MB / 426.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004103/0.1154, allocations: 2.507 MB / 428.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005206/0.1159, allocations: 259 kB / 429.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.1161, allocations: 7.938 kB / 429.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.1163, allocations: 43.56 kB / 429.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.1165, allocations: 95.19 kB / 429.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.1167, allocations: 63.91 kB / 429.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003939/0.1171, allocations: 318.5 kB / 429.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.1173, allocations: 71.11 kB / 429.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.1175, allocations: 131.5 kB / 429.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.1177, allocations: 127.5 kB / 429.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.679e-05/0.1177, allocations: 24 kB / 429.9 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.671e-05/0.1178, allocations: 27.94 kB / 429.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.29e-05/0.1178, allocations: 51.84 kB / 430 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.118, allocations: 151.3 kB / 430.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004005/0.1184, allocations: 322.6 kB / 430.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1184, allocations: 0 / 430.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1184, allocations: 0 / 430.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.1184, allocations: 0 / 430.5 MB, free: 0.5859 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.2071/0.3255, allocations: 0.5686 MB / 431 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.3256, allocations: 10.75 kB / 431 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.906e-05/0.3257, allocations: 59.33 kB / 431.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.117e-05/0.3258, allocations: 36.14 kB / 431.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.3261, allocations: 241.1 kB / 431.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.3261, allocations: 18.12 kB / 431.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.366e-05/0.3262, allocations: 31.14 kB / 431.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004573/0.3267, allocations: 260.5 kB / 431.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.3267, allocations: 5.969 kB / 431.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.3267, allocations: 9.281 kB / 431.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.3267, allocations: 7.812 kB / 431.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003328/0.327, allocations: 174.7 kB / 431.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009609/0.328, allocations: 0.7503 MB / 432.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.3284, allocations: 262.6 kB / 432.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.3285, allocations: 117.8 kB / 433 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.3286, allocations: 3.781 kB / 433 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.3286, allocations: 40.8 kB / 433 MB, free: 10.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.553e-06/0.3286, allocations: 0 / 433 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.002434/0.331, allocations: 1.716 MB / 434.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.3311, allocations: 81.83 kB / 434.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.3312, allocations: 179.9 kB / 435 MB, free: 9.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.3312, allocations: 31.8 kB / 435 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.3313, allocations: 148.4 kB / 435.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.3314, allocations: 184.1 kB / 435.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.3315, allocations: 73.12 kB / 435.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.168e-05/0.3316, allocations: 344.9 kB / 435.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.3318, allocations: 104 kB / 435.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.332, allocations: 155.3 kB / 436 MB, free: 8.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/0.3324, allocations: 283.8 kB / 436.3 MB, free: 8.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3324, allocations: 4.156 kB / 436.3 MB, free: 8.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005308/0.3329, allocations: 370.8 kB / 436.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.3329, allocations: 5.688 kB / 436.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3329, allocations: 1.188 kB / 436.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3329, allocations: 2.5 kB / 436.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.3333, allocations: 104 kB / 436.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.3334, allocations: 4.359 kB / 436.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.3335, allocations: 10.22 kB / 436.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.3335, allocations: 18.5 kB / 436.8 MB, free: 8.012 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * 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 0.0001289/0.3336, allocations: 151.8 kB / 437 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.282e-05/0.3337, allocations: 30.58 kB / 437 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.069e-05/0.3338, allocations: 40.06 kB / 437 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3338, allocations: 5.906 kB / 437 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.3338, allocations: 4.688 kB / 437 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.3338, allocations: 2.156 kB / 437 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.335, allocations: 0.948 MB / 438 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.335, allocations: 1.312 kB / 438 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.3354, allocations: 98.14 kB / 438.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/0.3354, allocations: 7.344 kB / 438.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.3354, allocations: 11.16 kB / 438.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.3354, allocations: 3.438 kB / 438.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3354, allocations: 1 kB / 438.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000738/0.3362, allocations: 0.6417 MB / 438.7 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.3362, allocations: 106.2 kB / 438.8 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/0.3363, allocations: 9.344 kB / 438.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.3364, allocations: 10.22 kB / 438.9 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.3365, allocations: 35.86 kB / 438.9 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.3365, allocations: 14.42 kB / 438.9 MB, free: 6.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.519e-05/0.3366, allocations: 130.5 kB / 439 MB, free: 6.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3366, allocations: 0 / 439 MB, free: 6.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003895/0.337, allocations: 85.91 kB / 439.1 MB, free: 6.551 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.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 (48): * Single equations (assignments): 48 * 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.0008827/0.3379, allocations: 1.19 MB / 440.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004578/0.3383, allocations: 279.3 kB / 440.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3383, allocations: 0 / 440.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.3385, allocations: 149.1 kB / 440.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005898/0.3391, allocations: 66.48 kB / 440.8 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004288/0.3434, allocations: 3.299 MB / 444.1 MB, free: 3.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.3438, allocations: 0.7754 MB / 444.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001907/0.344, allocations: 33.94 kB / 444.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.3441, allocations: 95.33 kB / 445 MB, free: 2.395 MB / 350.1 MB Notification: Performance of SimCode: time 1.312e-06/0.3441, allocations: 1.094 kB / 445 MB, free: 2.395 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02987/0.374, allocations: 6.159 MB / 451.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.054/8.428, allocations: 8.188 kB / 451.2 MB, free: 1.688 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable m3.s in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable m3.s from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable m3.v in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable m3.v from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd1.v_rel in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd1.v_rel from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd2.s_rel in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd2.s_rel from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd2.v_rel in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd2.v_rel from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.145315646004747]