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.001927/0.001927, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002316/0.002316, allocations: 210.9 kB / 24.47 MB, free: 3.547 MB / 14.72 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 1.393/1.393, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 59.92 kB / 347.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2434, allocations: 49.15 MB / 396.3 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003294/0.2467, allocations: 2.284 MB / 398.6 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004606/0.2471, allocations: 257.3 kB / 398.9 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.2473, allocations: 4.5 kB / 398.9 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.2474, allocations: 49.56 kB / 398.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.2475, allocations: 90.36 kB / 399 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.2477, allocations: 62.39 kB / 399.1 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.248, allocations: 324 kB / 399.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.2482, allocations: 73.62 kB / 399.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.2483, allocations: 120.8 kB / 399.6 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.2485, allocations: 117.2 kB / 399.7 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.96e-05/0.2485, allocations: 23.78 kB / 399.7 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.262e-05/0.2485, allocations: 29.41 kB / 399.7 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.242e-05/0.2486, allocations: 57.98 kB / 399.8 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.2487, allocations: 126.4 kB / 399.9 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.249, allocations: 316.7 kB / 400.2 MB, free: 6.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.249, allocations: 0 / 400.2 MB, free: 6.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.249, allocations: 1.281 kB / 400.2 MB, free: 6.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.249, allocations: 0 / 400.2 MB, free: 6.48 MB / 318.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.0006804/0.2497, allocations: 0.4942 MB / 400.7 MB, free: 6.086 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.2498, allocations: 12.39 kB / 400.7 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.401e-05/0.2498, allocations: 69.5 kB / 400.8 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.443e-05/0.2499, allocations: 33.12 kB / 400.8 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.2501, allocations: 186.9 kB / 401 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.2502, allocations: 26.59 kB / 401.1 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.2502, allocations: 26.39 kB / 401.1 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/0.2506, allocations: 256.1 kB / 401.3 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.2506, allocations: 10.17 kB / 401.3 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.2506, allocations: 11.62 kB / 401.3 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.2506, allocations: 5.812 kB / 401.4 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002864/0.2509, allocations: 171.2 kB / 401.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008601/0.2518, allocations: 0.6564 MB / 402.2 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.2521, allocations: 260.5 kB / 402.4 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.2523, allocations: 120.5 kB / 402.6 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.2523, allocations: 4.875 kB / 402.6 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.2523, allocations: 36.97 kB / 402.6 MB, free: 4.898 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.734e-06/0.2523, allocations: 0 / 402.6 MB, free: 4.898 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002105/0.2544, allocations: 1.413 MB / 404 MB, free: 3.996 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.2545, allocations: 87.27 kB / 404.1 MB, free: 3.898 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.2546, allocations: 192.4 kB / 404.3 MB, free: 3.762 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.2546, allocations: 31.89 kB / 404.3 MB, free: 3.727 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.2547, allocations: 150.4 kB / 404.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.404e-05/0.2548, allocations: 177.8 kB / 404.6 MB, free: 3.453 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.568e-05/0.2549, allocations: 80.34 kB / 404.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.945e-05/0.2549, allocations: 340.6 kB / 405 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.2551, allocations: 101.3 kB / 405.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.2552, allocations: 156.2 kB / 405.3 MB, free: 2.957 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/0.2556, allocations: 285.8 kB / 405.6 MB, free: 2.805 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2556, allocations: 1.375 kB / 405.6 MB, free: 2.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004289/0.256, allocations: 376.3 kB / 405.9 MB, free: 2.633 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.256, allocations: 6.156 kB / 405.9 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.256, allocations: 5.25 kB / 406 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.256, allocations: 3.156 kB / 406 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.2564, allocations: 104.4 kB / 406.1 MB, free: 2.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.2564, allocations: 6.656 kB / 406.1 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.2565, allocations: 7.719 kB / 406.1 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.2565, allocations: 14.06 kB / 406.1 MB, free: 2.605 MB / 318.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.0001015/0.2566, allocations: 152 kB / 406.2 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-05/0.2567, allocations: 34.59 kB / 406.3 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.695e-05/0.2568, allocations: 40.5 kB / 406.3 MB, free: 2.406 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2568, allocations: 5.625 kB / 406.3 MB, free: 2.406 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.2568, allocations: 5.344 kB / 406.3 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.2568, allocations: 3.234 kB / 406.3 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.2578, allocations: 0.8644 MB / 407.2 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2578, allocations: 1.375 kB / 407.2 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003818/0.2582, allocations: 94.39 kB / 407.3 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.2582, allocations: 6.688 kB / 407.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.2582, allocations: 12.64 kB / 407.3 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.2582, allocations: 3.5 kB / 407.3 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2582, allocations: 5.438 kB / 407.3 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00061/0.2589, allocations: 0.6396 MB / 407.9 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.2589, allocations: 29.48 kB / 408 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.2589, allocations: 12.64 kB / 408 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.2591, allocations: 6.812 kB / 408 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.2591, allocations: 28.52 kB / 408 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.2592, allocations: 14.73 kB / 408 MB, free: 1.363 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.95e-05/0.2593, allocations: 131 kB / 408.2 MB, free: 1.273 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2593, allocations: 0 / 408.2 MB, free: 1.273 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003904/0.2596, allocations: 78.31 kB / 408.2 MB, free: 1.262 MB / 318.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.0007891/0.2604, allocations: 1.196 MB / 409.4 MB, free: 324 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004281/0.2609, allocations: 282.5 kB / 409.7 MB, free: 228 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2609, allocations: 3.938 kB / 409.7 MB, free: 224 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.261, allocations: 139.6 kB / 409.9 MB, free: 184 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005684/0.2616, allocations: 70.53 kB / 409.9 MB, free: 148 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004041/0.2656, allocations: 3.295 MB / 413.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.2658, allocations: 167.3 kB / 413.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.266, allocations: 30.02 kB / 413.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.2661, allocations: 100.3 kB / 413.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2661, allocations: 4 kB / 413.5 MB, free: 13.65 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03561/0.3017, allocations: 6.843 MB / 420.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.77, allocations: 9 kB / 420.4 MB, free: 10.23 MB / 334.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/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: 14.301501287147403]