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.00118/0.00118, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00182/0.003, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001184/0.001184, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001595/0.002779, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9143/0.9143, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1712/1.085, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.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: 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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.075e-05, allocations: 6.109 kB / 222 MB, free: 76 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.00263/0.002651, allocations: 2.488 MB / 224.5 MB, free: 13.57 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004634/0.003114, allocations: 266.9 kB / 224.7 MB, free: 13.3 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.964e-05/0.003214, allocations: 4 kB / 224.7 MB, free: 13.3 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.059e-05/0.003305, allocations: 47.5 kB / 224.8 MB, free: 13.25 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.003485, allocations: 91.14 kB / 224.9 MB, free: 13.16 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.00365, allocations: 75.83 kB / 224.9 MB, free: 13.09 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000242/0.003892, allocations: 326.3 kB / 225.3 MB, free: 12.77 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.004029, allocations: 74.2 kB / 225.3 MB, free: 12.7 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.004229, allocations: 204.4 kB / 225.5 MB, free: 12.49 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.004364, allocations: 99.69 kB / 225.6 MB, free: 12.39 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.0044, allocations: 27.94 kB / 225.7 MB, free: 12.37 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.014e-05/0.004431, allocations: 28 kB / 225.7 MB, free: 12.34 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.401e-05/0.004465, allocations: 43.81 kB / 225.7 MB, free: 12.3 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.899e-05/0.004534, allocations: 87.81 kB / 225.8 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.004756, allocations: 187.3 kB / 226 MB, free: 12.03 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.212e-05/0.004768, allocations: 4 kB / 226 MB, free: 12.02 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004769, allocations: 0 / 226 MB, free: 12.02 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.00478, allocations: 3.938 kB / 226 MB, free: 12.02 MB / 234.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.0006475/0.005428, allocations: 0.5349 MB / 226.5 MB, free: 11.46 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.005473, allocations: 12.03 kB / 226.5 MB, free: 11.45 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.026e-05/0.005553, allocations: 40.91 kB / 226.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.005805, allocations: 161.4 kB / 226.7 MB, free: 11.23 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.005829, allocations: 21.03 kB / 226.8 MB, free: 11.21 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.005877, allocations: 28.33 kB / 226.8 MB, free: 11.18 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.006121, allocations: 200.2 kB / 227 MB, free: 10.97 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.006138, allocations: 4.172 kB / 227 MB, free: 10.97 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.006157, allocations: 15.94 kB / 227 MB, free: 10.95 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.006166, allocations: 4 kB / 227 MB, free: 10.95 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.006279, allocations: 75.92 kB / 227.1 MB, free: 10.88 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006156/0.006895, allocations: 0.4957 MB / 227.6 MB, free: 10.36 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.007108, allocations: 185.1 kB / 227.8 MB, free: 10.16 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.402e-05/0.007172, allocations: 69.67 kB / 227.8 MB, free: 10.09 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.007186, allocations: 4 kB / 227.8 MB, free: 10.08 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.007213, allocations: 46.5 kB / 227.9 MB, free: 10.03 MB / 234.7 MB Notification: Performance of pre-optimization done (n=36): time 1.423e-06/0.007214, allocations: 0 / 227.9 MB, free: 10.03 MB / 234.7 MB Notification: Performance of matching and sorting (n=48): time 0.001458/0.008672, allocations: 1.185 MB / 229.1 MB, free: 8.742 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.008714, allocations: 81.11 kB / 229.1 MB, free: 8.645 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00044/0.009154, allocations: 170.6 kB / 229.3 MB, free: 8.465 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.009174, allocations: 37.7 kB / 229.4 MB, free: 8.422 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.843e-05/0.009232, allocations: 124.8 kB / 229.5 MB, free: 8.297 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.277e-05/0.009315, allocations: 190.3 kB / 229.7 MB, free: 8.109 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.485e-05/0.00938, allocations: 82.09 kB / 229.7 MB, free: 8.023 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.42e-05/0.009474, allocations: 342.8 kB / 230.1 MB, free: 7.68 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.515e-05/0.009519, allocations: 40.98 kB / 230.1 MB, free: 7.637 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.919e-05/0.009599, allocations: 92.83 kB / 230.2 MB, free: 7.531 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.009737, allocations: 170 kB / 230.4 MB, free: 7.355 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.009738, allocations: 0 / 230.4 MB, free: 7.355 MB / 234.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0001778/0.009916, allocations: 210.4 kB / 230.6 MB, free: 7.145 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.009932, allocations: 6.656 kB / 230.6 MB, free: 7.141 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.009939, allocations: 4 kB / 230.6 MB, free: 7.137 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.009961, allocations: 8 kB / 230.6 MB, free: 7.129 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.01023, allocations: 131.8 kB / 230.7 MB, free: 7 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.01024, allocations: 7.984 kB / 230.7 MB, free: 6.992 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.246e-05/0.01029, allocations: 15.94 kB / 230.7 MB, free: 6.977 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.0103, allocations: 8 kB / 230.8 MB, free: 6.969 MB / 234.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 8.117e-05/0.01038, allocations: 133.8 kB / 230.9 MB, free: 6.828 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.01043, allocations: 39.89 kB / 230.9 MB, free: 6.789 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.804e-05/0.01048, allocations: 37.97 kB / 231 MB, free: 6.754 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.01048, allocations: 11.94 kB / 231 MB, free: 6.742 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.01048, allocations: 4 kB / 231 MB, free: 6.738 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.01049, allocations: 3.984 kB / 231 MB, free: 6.734 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005894/0.01108, allocations: 0.612 MB / 231.6 MB, free: 6.09 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01108, allocations: 0 / 231.6 MB, free: 6.09 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.01134, allocations: 119.9 kB / 231.7 MB, free: 5.973 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.01136, allocations: 27.88 kB / 231.7 MB, free: 5.945 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.01136, allocations: 3.938 kB / 231.7 MB, free: 5.941 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.01138, allocations: 11.98 kB / 231.8 MB, free: 5.93 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.01138, allocations: 4 kB / 231.8 MB, free: 5.926 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01138, allocations: 0 / 231.8 MB, free: 5.926 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.01168, allocations: 461.5 kB / 232.2 MB, free: 5.453 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.0117, allocations: 15.94 kB / 232.2 MB, free: 5.438 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.907e-05/0.01178, allocations: 12 kB / 232.2 MB, free: 5.426 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.0118, allocations: 19.95 kB / 232.3 MB, free: 5.406 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.01181, allocations: 12 kB / 232.3 MB, free: 5.395 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.326e-05/0.01185, allocations: 54.38 kB / 232.3 MB, free: 5.34 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01185, allocations: 0 / 232.3 MB, free: 5.34 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002103/0.01206, allocations: 80 kB / 232.4 MB, free: 5.262 MB / 234.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 9.661e-05/0.01215, allocations: 96.28 kB / 232.5 MB, free: 5.156 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.01235, allocations: 185.2 kB / 232.7 MB, free: 4.969 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/0.01237, allocations: 4 kB / 232.7 MB, free: 4.965 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.01247, allocations: 142.2 kB / 232.8 MB, free: 4.824 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000531/0.013, allocations: 0.7155 MB / 233.5 MB, free: 3.961 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.01417, allocations: 0.6245 MB / 234.2 MB, free: 3.301 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.047e-05/0.01423, allocations: 97.61 kB / 234.2 MB, free: 3.18 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 9.211e-05/0.01432, allocations: 34.95 kB / 234.3 MB, free: 3.148 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.01446, allocations: 111.3 kB / 234.4 MB, free: 3.039 MB / 234.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01446, allocations: 0 / 234.4 MB, free: 3.039 MB / 234.7 MB Notification: Performance of Templates: time 0.005071/0.01953, allocations: 3.496 MB / 237.9 MB, free: 15.57 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.640137736685574]