Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.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.001355/0.001355, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001414/0.001414, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 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 1.474/1.474, allocations: 230.4 MB / 254 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] 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.InitialConditions,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 71.88 kB / 373 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1141, allocations: 53.37 MB / 426.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003676/0.1177, allocations: 2.496 MB / 428.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006032/0.1183, allocations: 259 kB / 429.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.1185, allocations: 11.88 kB / 429.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.1186, allocations: 47.58 kB / 429.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.1188, allocations: 91.19 kB / 429.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.119, allocations: 55.92 kB / 429.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003592/0.1194, allocations: 322.5 kB / 429.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.1196, allocations: 75.11 kB / 429.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.1197, allocations: 127.5 kB / 429.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.1199, allocations: 127.5 kB / 429.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/0.12, allocations: 24 kB / 430 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.813e-05/0.12, allocations: 24 kB / 430 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.903e-05/0.1201, allocations: 63.77 kB / 430 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.1202, allocations: 147.3 kB / 430.2 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003794/0.1206, allocations: 314.6 kB / 430.5 MB, free: 464 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1206, allocations: 0 / 430.5 MB, free: 464 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1206, allocations: 0 / 430.5 MB, free: 464 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.1206, allocations: 0 / 430.5 MB, free: 464 kB / 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.2379/0.3585, allocations: 0.573 MB / 431.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.3586, allocations: 11.77 kB / 431.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.991e-05/0.3586, allocations: 60 kB / 431.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.916e-05/0.3587, allocations: 33.03 kB / 431.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.359, allocations: 245.5 kB / 431.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.359, allocations: 18.66 kB / 431.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.411e-05/0.3591, allocations: 29.75 kB / 431.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004355/0.3595, allocations: 255.4 kB / 431.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.3595, allocations: 9.625 kB / 431.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.3595, allocations: 13.09 kB / 431.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.3595, allocations: 10 kB / 431.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003045/0.3599, allocations: 174.4 kB / 431.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009124/0.3608, allocations: 0.7453 MB / 432.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.3611, allocations: 256.9 kB / 432.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.3613, allocations: 125.4 kB / 433 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.3613, allocations: 3.5 kB / 433 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.3613, allocations: 36.38 kB / 433.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 2.114e-06/0.3613, allocations: 0.7188 kB / 433.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.00231/0.3636, allocations: 1.709 MB / 434.8 MB, free: 9.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.3637, allocations: 89.08 kB / 434.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.3638, allocations: 187.3 kB / 435 MB, free: 8.902 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.3638, allocations: 36.11 kB / 435.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.3639, allocations: 140.3 kB / 435.2 MB, free: 8.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.289e-05/0.364, allocations: 183.7 kB / 435.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.534e-05/0.3641, allocations: 74.36 kB / 435.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.04e-05/0.3641, allocations: 341.3 kB / 435.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.3643, allocations: 101.5 kB / 435.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.3645, allocations: 158.1 kB / 436.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.3648, allocations: 289.5 kB / 436.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3648, allocations: 0 / 436.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005011/0.3653, allocations: 371.9 kB / 436.7 MB, free: 7.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3653, allocations: 5.406 kB / 436.7 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3654, allocations: 3.766 kB / 436.7 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.3654, allocations: 3.219 kB / 436.7 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003935/0.3658, allocations: 102.3 kB / 436.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.3658, allocations: 5.406 kB / 436.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.3659, allocations: 11.72 kB / 436.8 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.3659, allocations: 14.28 kB / 436.8 MB, free: 7.785 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.000129/0.3661, allocations: 152.9 kB / 437 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.515e-05/0.3661, allocations: 34.62 kB / 437 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.886e-05/0.3662, allocations: 36.97 kB / 437.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3662, allocations: 6.438 kB / 437.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.3662, allocations: 0.875 kB / 437.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.3662, allocations: 8.484 kB / 437.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.3674, allocations: 0.942 MB / 438 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3674, allocations: 1.375 kB / 438 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004243/0.3679, allocations: 95.69 kB / 438.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.3679, allocations: 7.875 kB / 438.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.3679, allocations: 16.09 kB / 438.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.3679, allocations: 9.125 kB / 438.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3679, allocations: 1.094 kB / 438.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007388/0.3687, allocations: 0.6385 MB / 438.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.977e-05/0.3687, allocations: 101.8 kB / 438.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.3688, allocations: 11.94 kB / 438.9 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.3689, allocations: 12.11 kB / 438.9 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.369, allocations: 29.34 kB / 438.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.369, allocations: 15.44 kB / 439 MB, free: 6.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.3691, allocations: 139.7 kB / 439.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3691, allocations: 0 / 439.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004162/0.3696, allocations: 76.97 kB / 439.2 MB, free: 6.312 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.0008874/0.3704, allocations: 1.19 MB / 440.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004904/0.3709, allocations: 286.2 kB / 440.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3709, allocations: 0 / 440.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.3711, allocations: 147.1 kB / 440.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.3717, allocations: 71.98 kB / 440.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003709/0.3754, allocations: 3.291 MB / 444.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.3757, allocations: 0.7753 MB / 444.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001691/0.3758, allocations: 34.97 kB / 445 MB, free: 2.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.376, allocations: 99.97 kB / 445.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of SimCode: time 1.282e-06/0.376, allocations: 0 / 445.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04001/0.416, allocations: 6.143 MB / 451.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/8.525, allocations: 8.688 kB / 451.2 MB, free: 1.449 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable m3.s from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable m3.v in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable m3.v from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd1.v_rel in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd1.v_rel from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd2.s_rel in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd2.s_rel from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd2.v_rel in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd2.v_rel from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.105268911109306]