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.001681/0.001681, allocations: 112.2 kB / 21.94 MB, free: 12 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.002134/0.002134, allocations: 198.7 kB / 25.23 MB, free: 3.539 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.52/1.52, allocations: 207.6 MB / 236 MB, free: 9.98 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: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions") [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.002149/0.002149, allocations: 51.92 kB / 348.4 MB, free: 9.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3571, allocations: 49.16 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003842/0.3609, allocations: 2.474 MB / 400.1 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005088/0.3614, allocations: 252.2 kB / 400.3 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.3616, allocations: 7.594 kB / 400.3 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.3618, allocations: 50.77 kB / 400.4 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.3619, allocations: 94.12 kB / 400.5 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.3621, allocations: 62.72 kB / 400.5 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003516/0.3625, allocations: 323.8 kB / 400.8 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.3627, allocations: 80.91 kB / 400.9 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.3628, allocations: 128.5 kB / 401 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.363, allocations: 129.4 kB / 401.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.3631, allocations: 24.97 kB / 401.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.748e-05/0.3631, allocations: 23.91 kB / 401.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.388e-05/0.3632, allocations: 58.09 kB / 401.3 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.3633, allocations: 147.4 kB / 401.4 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00041/0.3637, allocations: 312.1 kB / 401.7 MB, free: 6.859 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.3637, allocations: 1.25 kB / 401.7 MB, free: 6.859 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3637, allocations: 0 / 401.7 MB, free: 6.859 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.3637, allocations: 0 / 401.7 MB, free: 6.859 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.0009033/0.3646, allocations: 0.5017 MB / 402.2 MB, free: 6.457 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.3647, allocations: 12.39 kB / 402.2 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.465e-05/0.3648, allocations: 32.56 kB / 402.3 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.3652, allocations: 194.5 kB / 402.5 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.3652, allocations: 24.75 kB / 402.5 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-05/0.3653, allocations: 25.44 kB / 402.5 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005212/0.3658, allocations: 251.4 kB / 402.8 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.3658, allocations: 5.766 kB / 402.8 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.3658, allocations: 14.03 kB / 402.8 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.3659, allocations: 6.875 kB / 402.8 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003517/0.3662, allocations: 178.9 kB / 403 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.3673, allocations: 0.7032 MB / 403.7 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004561/0.3678, allocations: 262.9 kB / 403.9 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.368, allocations: 120.5 kB / 404 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.368, allocations: 3.344 kB / 404 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.368, allocations: 42.14 kB / 404.1 MB, free: 5.309 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.533e-06/0.368, allocations: 0 / 404.1 MB, free: 5.309 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002649/0.3707, allocations: 1.418 MB / 405.5 MB, free: 4.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.3707, allocations: 85.86 kB / 405.6 MB, free: 4.305 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.3709, allocations: 186.6 kB / 405.8 MB, free: 4.172 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.371, allocations: 31.95 kB / 405.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3711, allocations: 143.3 kB / 405.9 MB, free: 4.012 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.3712, allocations: 180.8 kB / 406.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.3713, allocations: 77.73 kB / 406.2 MB, free: 3.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.3714, allocations: 338.4 kB / 406.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.3716, allocations: 103.3 kB / 406.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.3719, allocations: 161.9 kB / 406.8 MB, free: 3.367 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004189/0.3723, allocations: 284.3 kB / 407.1 MB, free: 3.215 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3723, allocations: 1.344 kB / 407.1 MB, free: 3.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005738/0.3729, allocations: 375.2 kB / 407.4 MB, free: 3.043 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.3729, allocations: 6.188 kB / 407.4 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3729, allocations: 5.375 kB / 407.4 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.3729, allocations: 3.266 kB / 407.4 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000445/0.3734, allocations: 96.27 kB / 407.5 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.3734, allocations: 4.125 kB / 407.5 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.3735, allocations: 11.36 kB / 407.5 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.3735, allocations: 17.56 kB / 407.6 MB, free: 3.02 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.0001517/0.3737, allocations: 148.5 kB / 407.7 MB, free: 2.879 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.338e-05/0.3738, allocations: 34.88 kB / 407.7 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.436e-05/0.3739, allocations: 48.47 kB / 407.8 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.3739, allocations: 5.5 kB / 407.8 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.3739, allocations: 0 / 407.8 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.3739, allocations: 3.859 kB / 407.8 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.3754, allocations: 0.9118 MB / 408.7 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3754, allocations: 2.031 kB / 408.7 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004897/0.3759, allocations: 102.9 kB / 408.8 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.3759, allocations: 6.594 kB / 408.8 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.376, allocations: 16.34 kB / 408.8 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.376, allocations: 3.062 kB / 408.8 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.376, allocations: 2.312 kB / 408.8 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009411/0.3769, allocations: 0.634 MB / 409.5 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.377, allocations: 28.8 kB / 409.5 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.05e-05/0.377, allocations: 16.72 kB / 409.5 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.3772, allocations: 6.75 kB / 409.5 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.478e-05/0.3773, allocations: 28.3 kB / 409.6 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.3773, allocations: 14.64 kB / 409.6 MB, free: 1.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.3775, allocations: 131.6 kB / 409.7 MB, free: 1.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3775, allocations: 0 / 409.7 MB, free: 1.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004537/0.3779, allocations: 82.75 kB / 409.8 MB, free: 1.645 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.0001379/0.3781, allocations: 109.8 kB / 409.9 MB, free: 1.539 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006726/0.3787, allocations: 274.6 kB / 410.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3787, allocations: 0 / 410.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.379, allocations: 146.4 kB / 410.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/0.3796, allocations: 75.69 kB / 410.4 MB, free: 1.367 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.3811, allocations: 1.031 MB / 411.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.3815, allocations: 0.7756 MB / 412.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.725e-05/0.3816, allocations: 29.62 kB / 412.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3816, allocations: 0 / 412.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of Templates: time 0.007398/0.389, allocations: 3.742 MB / 415.9 MB, free: 14.34 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.610899515915662]