Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009181/0.0009181, allocations: 87.62 kB / 21.43 MB, free: 3.121 MB / 18.57 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.006751/0.006751, allocations: 168.1 kB / 24.7 MB, free: 9.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9042/0.9042, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.303e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002597/0.00262, allocations: 2.284 MB / 300.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000633/0.003253, allocations: 251 kB / 301 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.003391, allocations: 8 kB / 301 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.003528, allocations: 47.56 kB / 301 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.003673, allocations: 99.02 kB / 301.1 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.003865, allocations: 67.89 kB / 301.2 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000543/0.004408, allocations: 326.3 kB / 301.5 MB, free: 448 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.004585, allocations: 75.58 kB / 301.6 MB, free: 372 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.004767, allocations: 183.6 kB / 301.7 MB, free: 188 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.004881, allocations: 91.7 kB / 301.8 MB, free: 96 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.004917, allocations: 24 kB / 301.9 MB, free: 72 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.413e-05/0.004941, allocations: 27.94 kB / 301.9 MB, free: 44 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1385/0.1434, allocations: 60.2 kB / 301.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.1436, allocations: 97.34 kB / 302 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004392/0.1441, allocations: 314.8 kB / 302.3 MB, free: 13.46 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1441, allocations: 0.8125 kB / 302.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1441, allocations: 0 / 302.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.1441, allocations: 2.938 kB / 302.4 MB, free: 13.46 MB / 282.7 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.0006433/0.1447, allocations: 0.4938 MB / 302.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.281e-05/0.1448, allocations: 16.36 kB / 302.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.769e-05/0.1448, allocations: 62.06 kB / 302.9 MB, free: 13.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.578e-05/0.1449, allocations: 38.38 kB / 303 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.1453, allocations: 190.5 kB / 303.1 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.1453, allocations: 20.41 kB / 303.2 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/0.1453, allocations: 26.19 kB / 303.2 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000395/0.1457, allocations: 255.1 kB / 303.4 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.1457, allocations: 5.688 kB / 303.4 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.1458, allocations: 10.42 kB / 303.5 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.1458, allocations: 11.03 kB / 303.5 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.1461, allocations: 178.3 kB / 303.6 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008429/0.1469, allocations: 0.6574 MB / 304.3 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003877/0.1473, allocations: 254.3 kB / 304.5 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.1475, allocations: 114.8 kB / 304.7 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.1475, allocations: 4.75 kB / 304.7 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.1475, allocations: 37.5 kB / 304.7 MB, free: 12.39 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.024e-06/0.1475, allocations: 0 / 304.7 MB, free: 12.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=48): time 0.001864/0.1494, allocations: 1.421 MB / 306.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.1494, allocations: 88.77 kB / 306.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.1496, allocations: 180.5 kB / 306.4 MB, free: 11.33 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.1496, allocations: 36.02 kB / 306.4 MB, free: 11.29 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/0.1497, allocations: 142 kB / 306.6 MB, free: 11.17 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.809e-05/0.1497, allocations: 181.5 kB / 306.7 MB, free: 11.03 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.969e-05/0.1498, allocations: 74.7 kB / 306.8 MB, free: 10.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.775e-05/0.1499, allocations: 338.4 kB / 307.1 MB, free: 10.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.15, allocations: 103.5 kB / 307.2 MB, free: 10.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.1502, allocations: 158.5 kB / 307.4 MB, free: 10.54 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.1504, allocations: 281.5 kB / 307.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1505, allocations: 1.312 kB / 307.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003839/0.1508, allocations: 374.8 kB / 308 MB, free: 10.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.1509, allocations: 9.75 kB / 308 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.1509, allocations: 1.672 kB / 308 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.1509, allocations: 2.969 kB / 308.1 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.1512, allocations: 103.2 kB / 308.2 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.1512, allocations: 4.031 kB / 308.2 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.497e-05/0.1512, allocations: 10.59 kB / 308.2 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.1512, allocations: 14.12 kB / 308.2 MB, free: 10.21 MB / 282.7 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 9.406e-05/0.1513, allocations: 151.7 kB / 308.3 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.1514, allocations: 35.06 kB / 308.4 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.346e-05/0.1514, allocations: 42.69 kB / 308.4 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1514, allocations: 5.812 kB / 308.4 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.1515, allocations: 0 / 308.4 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1515, allocations: 7.875 kB / 308.4 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008898/0.1523, allocations: 0.8777 MB / 309.3 MB, free: 9.449 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1524, allocations: 1.125 kB / 309.3 MB, free: 9.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.1526, allocations: 95.5 kB / 309.4 MB, free: 9.445 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.1526, allocations: 8.172 kB / 309.4 MB, free: 9.441 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.1526, allocations: 7.531 kB / 309.4 MB, free: 9.438 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.1527, allocations: 2.891 kB / 309.4 MB, free: 9.438 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1527, allocations: 5.062 kB / 309.4 MB, free: 9.434 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005444/0.1532, allocations: 0.6388 MB / 310.1 MB, free: 9.039 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.1532, allocations: 25.09 kB / 310.1 MB, free: 9.023 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.1532, allocations: 12.67 kB / 310.1 MB, free: 9.016 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.651e-05/0.1533, allocations: 10.77 kB / 310.1 MB, free: 9.008 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.1534, allocations: 28.97 kB / 310.1 MB, free: 9.004 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.1534, allocations: 14.67 kB / 310.1 MB, free: 9 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.021e-05/0.1535, allocations: 135.3 kB / 310.3 MB, free: 8.906 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1535, allocations: 4 kB / 310.3 MB, free: 8.902 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002653/0.1537, allocations: 79.78 kB / 310.4 MB, free: 8.891 MB / 282.7 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.0006278/0.1544, allocations: 1.186 MB / 311.5 MB, free: 7.973 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003511/0.1547, allocations: 281.7 kB / 311.8 MB, free: 7.887 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1547, allocations: 0 / 311.8 MB, free: 7.887 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.1549, allocations: 146.8 kB / 312 MB, free: 7.848 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.1553, allocations: 72.98 kB / 312 MB, free: 7.824 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.1578, allocations: 3.122 MB / 315.2 MB, free: 5.668 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.1579, allocations: 175.8 kB / 315.3 MB, free: 5.578 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.158, allocations: 33.16 kB / 315.4 MB, free: 5.574 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.1581, allocations: 100.1 kB / 315.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of SimCode: time 1.232e-06/0.1581, allocations: 0 / 315.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.1816, allocations: 6.983 MB / 322.4 MB, free: 3.262 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.008/7.19, allocations: 1.531 kB / 322.4 MB, free: 3.262 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable m3.s from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable m3.v in file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable m3.v from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd1.v_rel in file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd1.v_rel from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd2.s_rel in file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd2.s_rel from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd2.v_rel in file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd2.v_rel from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.001460815779865]