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.001814/0.001814, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001978/0.001978, allocations: 206.4 kB / 23.73 MB, free: 4.414 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.456/1.456, allocations: 230.5 MB / 257.4 MB, free: 7.766 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.002148/0.002148, allocations: 63.91 kB / 377.7 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2578, allocations: 53.4 MB / 431.1 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004013/0.2618, allocations: 2.327 MB / 433.4 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000728/0.2626, allocations: 263 kB / 433.7 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.2628, allocations: 7.938 kB / 433.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.263, allocations: 43.58 kB / 433.8 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.2632, allocations: 91.19 kB / 433.8 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.2634, allocations: 63.92 kB / 433.9 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004102/0.2638, allocations: 322.5 kB / 434.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.264, allocations: 65.28 kB / 434.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.2642, allocations: 131.5 kB / 434.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002838/0.2645, allocations: 111.4 kB / 434.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.297e-05/0.2646, allocations: 28 kB / 434.6 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.899e-05/0.2647, allocations: 24 kB / 434.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.157e-05/0.2647, allocations: 59.81 kB / 434.6 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.2649, allocations: 115.5 kB / 434.7 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003959/0.2653, allocations: 326.6 kB / 435.1 MB, free: 2.516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2653, allocations: 0 / 435.1 MB, free: 2.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2653, allocations: 0 / 435.1 MB, free: 2.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.2653, allocations: 0 / 435.1 MB, free: 2.516 MB / 334.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.001091/0.2664, allocations: 0.4976 MB / 435.6 MB, free: 1.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.2664, allocations: 15.98 kB / 435.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.584e-05/0.2665, allocations: 62.72 kB / 435.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.359e-05/0.2666, allocations: 32.75 kB / 435.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.2671, allocations: 182.9 kB / 435.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.2671, allocations: 21.03 kB / 435.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.221e-05/0.2672, allocations: 32.3 kB / 435.9 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.2676, allocations: 256.4 kB / 436.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.2676, allocations: 3.938 kB / 436.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.2677, allocations: 12 kB / 436.2 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.2677, allocations: 8 kB / 436.2 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003157/0.268, allocations: 175.8 kB / 436.3 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.2691, allocations: 0.6596 MB / 437 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/0.2695, allocations: 265.3 kB / 437.3 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.2698, allocations: 113.6 kB / 437.4 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.2698, allocations: 7.984 kB / 437.4 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.2698, allocations: 38.56 kB / 437.4 MB, free: 0 / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.633e-06/0.2698, allocations: 4.047 kB / 437.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.002803/0.2726, allocations: 1.416 MB / 438.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.2727, allocations: 85.09 kB / 438.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.2729, allocations: 203 kB / 439.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.2729, allocations: 33.7 kB / 439.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.2731, allocations: 136.9 kB / 439.3 MB, free: 14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.2732, allocations: 182.4 kB / 439.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.2734, allocations: 74.19 kB / 439.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.2736, allocations: 338.8 kB / 439.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.2737, allocations: 101 kB / 440 MB, free: 13.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.274, allocations: 156.8 kB / 440.1 MB, free: 13.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.2744, allocations: 286.1 kB / 440.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2744, allocations: 4 kB / 440.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005697/0.275, allocations: 369.9 kB / 440.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.275, allocations: 7.938 kB / 440.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.275, allocations: 4 kB / 440.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.275, allocations: 0 / 440.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.2754, allocations: 103.9 kB / 440.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.2754, allocations: 4 kB / 440.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.2756, allocations: 8 kB / 440.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.2756, allocations: 16 kB / 440.9 MB, free: 12.34 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.0001848/0.2758, allocations: 161.7 kB / 441.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.562e-05/0.2759, allocations: 35.75 kB / 441.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.602e-05/0.2759, allocations: 33.97 kB / 441.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.276, allocations: 4 kB / 441.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.276, allocations: 4 kB / 441.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.956e-06/0.276, allocations: 3.984 kB / 441.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.2774, allocations: 0.8691 MB / 442 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.2775, allocations: 3.984 kB / 442 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/0.2779, allocations: 95.97 kB / 442.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.2779, allocations: 11.88 kB / 442.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.2779, allocations: 12 kB / 442.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/0.2779, allocations: 7.984 kB / 442.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.2779, allocations: 3.938 kB / 442.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008698/0.2788, allocations: 0.6356 MB / 442.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.809e-05/0.2789, allocations: 23.8 kB / 442.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.2789, allocations: 12 kB / 442.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.2791, allocations: 12 kB / 442.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.2792, allocations: 31.94 kB / 442.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.2792, allocations: 12 kB / 442.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.2793, allocations: 135 kB / 443 MB, free: 10.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2793, allocations: 0 / 443 MB, free: 10.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004237/0.2797, allocations: 83.98 kB / 443.1 MB, free: 10.07 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.001149/0.2809, allocations: 1.188 MB / 444.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004911/0.2814, allocations: 283.6 kB / 444.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2814, allocations: 0 / 444.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.2816, allocations: 156.5 kB / 444.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006015/0.2822, allocations: 64.25 kB / 444.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004247/0.2864, allocations: 3.277 MB / 448 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.2866, allocations: 176.7 kB / 448.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.2868, allocations: 30.97 kB / 448.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.2869, allocations: 95.41 kB / 448.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of SimCode: time 8.12e-07/0.2869, allocations: 0 / 448.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03695/0.3239, allocations: 6.834 MB / 455.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.46, allocations: 14.67 kB / 455.2 MB, free: 13.95 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.113858431112021]