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.001336/0.001336, allocations: 114 kB / 20.44 MB, free: 1.469 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.001505/0.001505, allocations: 211.4 kB / 23.74 MB, free: 4.695 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.467/1.467, allocations: 230.5 MB / 257.4 MB, free: 8 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.00187/0.00187, allocations: 59.91 kB / 377.8 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2535, allocations: 53.4 MB / 431.2 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003968/0.2575, allocations: 2.526 MB / 433.7 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005408/0.258, allocations: 251.1 kB / 433.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.2582, allocations: 11.94 kB / 433.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.2583, allocations: 43.58 kB / 434 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.2585, allocations: 99.11 kB / 434.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.2587, allocations: 59.92 kB / 434.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003691/0.2591, allocations: 322.5 kB / 434.5 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.2593, allocations: 71.59 kB / 434.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.2594, allocations: 123.6 kB / 434.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.2596, allocations: 127.4 kB / 434.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.877e-05/0.2597, allocations: 24 kB / 434.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.527e-05/0.2597, allocations: 28 kB / 434.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.564e-05/0.2598, allocations: 63.75 kB / 434.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.2599, allocations: 139.3 kB / 435 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003704/0.2603, allocations: 323 kB / 435.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2603, allocations: 0 / 435.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2603, allocations: 0 / 435.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.2603, allocations: 0 / 435.3 MB, free: 2.523 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.0008422/0.2611, allocations: 0.5015 MB / 435.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2612, allocations: 12.03 kB / 435.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.65e-05/0.2612, allocations: 58.73 kB / 435.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.907e-05/0.2613, allocations: 32.75 kB / 435.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.2616, allocations: 190.8 kB / 436.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.2616, allocations: 17.03 kB / 436.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.2617, allocations: 28.38 kB / 436.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/0.2621, allocations: 264.3 kB / 436.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.2621, allocations: 3.938 kB / 436.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.2622, allocations: 12 kB / 436.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.2622, allocations: 4 kB / 436.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.2625, allocations: 179.8 kB / 436.6 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.2636, allocations: 0.7064 MB / 437.3 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004466/0.264, allocations: 267.5 kB / 437.6 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.2642, allocations: 113.6 kB / 437.7 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.2642, allocations: 8 kB / 437.7 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.054e-05/0.2643, allocations: 34.56 kB / 437.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.743e-06/0.2643, allocations: 0 / 437.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.002686/0.267, allocations: 1.429 MB / 439.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.89e-05/0.267, allocations: 81.11 kB / 439.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.2672, allocations: 187.1 kB / 439.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.2673, allocations: 37.7 kB / 439.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.2674, allocations: 140.8 kB / 439.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.2675, allocations: 186.4 kB / 439.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.2677, allocations: 82.19 kB / 439.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002456/0.2679, allocations: 334.8 kB / 440.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.2681, allocations: 105 kB / 440.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.2683, allocations: 156.8 kB / 440.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004107/0.2687, allocations: 286.1 kB / 440.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2687, allocations: 4 kB / 440.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005416/0.2693, allocations: 362 kB / 441.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.2693, allocations: 8 kB / 441.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2693, allocations: 0 / 441.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.2693, allocations: 4 kB / 441.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003935/0.2697, allocations: 104 kB / 441.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.2697, allocations: 7.938 kB / 441.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.2698, allocations: 8 kB / 441.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.2698, allocations: 16 kB / 441.2 MB, free: 12.29 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.0001512/0.27, allocations: 145.8 kB / 441.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.498e-05/0.2701, allocations: 39.73 kB / 441.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.113e-05/0.2702, allocations: 37.97 kB / 441.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.2702, allocations: 8 kB / 441.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.2702, allocations: 0 / 441.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.2702, allocations: 7.984 kB / 441.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.2715, allocations: 0.9042 MB / 442.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.2715, allocations: 7.984 kB / 442.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004348/0.2719, allocations: 95.84 kB / 442.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.2719, allocations: 3.938 kB / 442.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.272, allocations: 16.06 kB / 442.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.272, allocations: 7.984 kB / 442.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.272, allocations: 3.938 kB / 442.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008331/0.2728, allocations: 0.6394 MB / 443.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.2729, allocations: 27.8 kB / 443.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.2729, allocations: 16 kB / 443.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.2731, allocations: 8 kB / 443.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.2731, allocations: 27.94 kB / 443.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.2732, allocations: 12 kB / 443.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.2733, allocations: 135.1 kB / 443.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2733, allocations: 0 / 443.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003607/0.2736, allocations: 76 kB / 443.4 MB, free: 9.992 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.001144/0.2748, allocations: 1.196 MB / 444.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004684/0.2752, allocations: 279.6 kB / 444.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2752, allocations: 8.062 kB / 444.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.2755, allocations: 152.3 kB / 445.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005823/0.276, allocations: 66.56 kB / 445.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004081/0.2801, allocations: 3.282 MB / 448.4 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.2806, allocations: 0.7765 MB / 449.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.2807, allocations: 30.97 kB / 449.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.2809, allocations: 99.41 kB / 449.3 MB, free: 3.938 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2809, allocations: 0 / 449.3 MB, free: 3.938 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03467/0.3155, allocations: 6.516 MB / 455.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.18, allocations: 3.859 kB / 455.8 MB, free: 13.55 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.753205376000551]