Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008644/0.0008644, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009929/0.0009929, allocations: 157 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8396/0.8396, allocations: 173.3 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 3.938 kB / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.187e-05, allocations: 6.219 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002518/0.00254, allocations: 2.288 MB / 320.7 MB, free: 4.062 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004386/0.002978, allocations: 259 kB / 321 MB, free: 3.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.533e-05/0.003074, allocations: 4 kB / 321 MB, free: 3.805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.003195, allocations: 51.44 kB / 321 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.00331, allocations: 99.12 kB / 321.1 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.003459, allocations: 59.91 kB / 321.2 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.003673, allocations: 334.3 kB / 321.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.003837, allocations: 79.55 kB / 321.6 MB, free: 3.184 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.003975, allocations: 183.6 kB / 321.8 MB, free: 3.004 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.004078, allocations: 95.75 kB / 321.9 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.004113, allocations: 31.94 kB / 321.9 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.362e-05/0.004136, allocations: 24 kB / 321.9 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.363e-05/0.00417, allocations: 59.75 kB / 322 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.233e-05/0.004232, allocations: 99.75 kB / 322.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.004451, allocations: 319 kB / 322.4 MB, free: 2.387 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004453, allocations: 0 / 322.4 MB, free: 2.387 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004454, allocations: 0 / 322.4 MB, free: 2.387 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.004459, allocations: 3.938 kB / 322.4 MB, free: 2.383 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.0005006/0.00496, allocations: 0.4898 MB / 322.9 MB, free: 1.859 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.004995, allocations: 12.92 kB / 322.9 MB, free: 1.848 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.383e-05/0.005039, allocations: 66.66 kB / 323 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.005077, allocations: 36.75 kB / 323 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.005281, allocations: 181.4 kB / 323.2 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.005298, allocations: 25.03 kB / 323.2 MB, free: 1.508 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.005331, allocations: 28.33 kB / 323.2 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.005593, allocations: 260.3 kB / 323.5 MB, free: 1.215 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.005606, allocations: 4.188 kB / 323.5 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.005623, allocations: 12.38 kB / 323.5 MB, free: 1.199 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.00563, allocations: 8.125 kB / 323.5 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.005824, allocations: 167.9 kB / 323.7 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008871/0.006711, allocations: 0.6671 MB / 324.3 MB, free: 320 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.006987, allocations: 259.4 kB / 324.6 MB, free: 44 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.007116, allocations: 116.6 kB / 324.7 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.007131, allocations: 4 kB / 324.7 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.007152, allocations: 38.5 kB / 324.7 MB, free: 15.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 1.343e-06/0.007153, allocations: 0 / 324.7 MB, free: 15.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.00152/0.008673, allocations: 1.417 MB / 326.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.00871, allocations: 89.11 kB / 326.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.008824, allocations: 174.3 kB / 326.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.008845, allocations: 37.7 kB / 326.4 MB, free: 14.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/0.008911, allocations: 144.7 kB / 326.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.847e-05/0.008989, allocations: 182.4 kB / 326.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.009056, allocations: 78.19 kB / 326.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.823e-05/0.009134, allocations: 342.8 kB / 327.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.009244, allocations: 108.9 kB / 327.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.009376, allocations: 152.8 kB / 327.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.009641, allocations: 286.1 kB / 327.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.009642, allocations: 0 / 327.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003246/0.009967, allocations: 366 kB / 328.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.009981, allocations: 7.938 kB / 328.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.009986, allocations: 0 / 328.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.01, allocations: 8.062 kB / 328.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.01021, allocations: 103.8 kB / 328.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.01022, allocations: 7.938 kB / 328.2 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.639e-05/0.01028, allocations: 16 kB / 328.2 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.01029, allocations: 12 kB / 328.2 MB, free: 12.21 MB / 298.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.349e-05/0.01038, allocations: 153.8 kB / 328.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.01042, allocations: 27.86 kB / 328.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.337e-05/0.01046, allocations: 37.91 kB / 328.4 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.01047, allocations: 4 kB / 328.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.01047, allocations: 0 / 328.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.01048, allocations: 7.984 kB / 328.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007429/0.01122, allocations: 0.8714 MB / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01122, allocations: 0 / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.01143, allocations: 95.89 kB / 329.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01143, allocations: 4 kB / 329.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.01144, allocations: 8 kB / 329.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01145, allocations: 0 / 329.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.01145, allocations: 11.92 kB / 329.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005318/0.01198, allocations: 0.6529 MB / 330.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.01201, allocations: 19.86 kB / 330.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.01203, allocations: 12 kB / 330.1 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.752e-05/0.01213, allocations: 7.938 kB / 330.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.01216, allocations: 31.94 kB / 330.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.01217, allocations: 12 kB / 330.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.383e-05/0.01224, allocations: 128.4 kB / 330.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01224, allocations: 0 / 330.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000226/0.01246, allocations: 80 kB / 330.4 MB, free: 9.969 MB / 298.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.0006314/0.01309, allocations: 1.205 MB / 331.6 MB, free: 8.727 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002932/0.01339, allocations: 275.3 kB / 331.8 MB, free: 8.457 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.01339, allocations: 0 / 331.8 MB, free: 8.457 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.01351, allocations: 150.1 kB / 332 MB, free: 8.312 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.01387, allocations: 68.16 kB / 332.1 MB, free: 8.246 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.01609, allocations: 3.114 MB / 335.2 MB, free: 5.012 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.723e-05/0.01619, allocations: 176.6 kB / 335.3 MB, free: 4.816 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.417e-05/0.01627, allocations: 30.97 kB / 335.4 MB, free: 4.789 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.01637, allocations: 96.47 kB / 335.5 MB, free: 4.695 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.01637, allocations: 0 / 335.5 MB, free: 4.695 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.03741, allocations: 6.996 MB / 342.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.684/6.721, allocations: 3.438 kB / 342.5 MB, free: 13.86 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.365172068588436]