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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,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=10000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 108.4 kB / 18.34 MB, free: 4.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 186.9 kB / 19.28 MB, free: 3.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.1 MB / 225.1 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 47.92 kB / 282.1 MB, free: 2.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08292/0.08409, allocations: 46.63 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003577/0.08771, allocations: 2.47 MB / 331.2 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.000505/0.08824, allocations: 255.1 kB / 331.4 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.08836, allocations: 7.938 kB / 331.4 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.08852, allocations: 43.56 kB / 331.5 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.08867, allocations: 87.2 kB / 331.6 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.08887, allocations: 71.78 kB / 331.6 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002924/0.08917, allocations: 314.6 kB / 331.9 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.08937, allocations: 103.1 kB / 332 MB, free: 420 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.08949, allocations: 111.6 kB / 332.2 MB, free: 308 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.08966, allocations: 135.4 kB / 332.3 MB, free: 172 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.564e-05/0.08972, allocations: 24 kB / 332.3 MB, free: 148 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.903e-05/0.08976, allocations: 24 kB / 332.3 MB, free: 124 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.973e-05/0.08982, allocations: 59.77 kB / 332.4 MB, free: 64 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.08997, allocations: 147.3 kB / 332.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.09025, allocations: 314.8 kB / 332.8 MB, free: 15.61 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.09026, allocations: 7.938 kB / 332.9 MB, free: 15.6 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09027, allocations: 4 kB / 332.9 MB, free: 15.6 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.09028, allocations: 0 / 332.9 MB, free: 15.6 MB / 286.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.0008775/0.09117, allocations: 0.5576 MB / 333.4 MB, free: 14.99 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.09121, allocations: 12.03 kB / 333.4 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.09127, allocations: 32.56 kB / 333.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.09155, allocations: 251.7 kB / 333.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.09158, allocations: 20.94 kB / 333.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/0.09163, allocations: 28.31 kB / 333.8 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000414/0.09205, allocations: 255.1 kB / 334 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.09208, allocations: 4.188 kB / 334 MB, free: 14.35 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.09211, allocations: 15.92 kB / 334 MB, free: 14.34 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.09214, allocations: 12 kB / 334 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.09242, allocations: 171.9 kB / 334.2 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.09347, allocations: 0.7499 MB / 334.9 MB, free: 13.35 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.09386, allocations: 273 kB / 335.2 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.09404, allocations: 125.6 kB / 335.3 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.09407, allocations: 4 kB / 335.3 MB, free: 12.93 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.09409, allocations: 38.55 kB / 335.4 MB, free: 12.89 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 1.502e-06/0.0941, allocations: 3.938 kB / 335.4 MB, free: 12.88 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.002588/0.09669, allocations: 1.708 MB / 337.1 MB, free: 11 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.09675, allocations: 81.11 kB / 337.2 MB, free: 10.9 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.09691, allocations: 190.2 kB / 337.4 MB, free: 10.7 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.09695, allocations: 29.7 kB / 337.4 MB, free: 10.67 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.723e-05/0.09704, allocations: 140.7 kB / 337.5 MB, free: 10.52 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.09715, allocations: 169.5 kB / 337.7 MB, free: 10.36 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.661e-05/0.09726, allocations: 78.25 kB / 337.8 MB, free: 10.27 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.09737, allocations: 342.8 kB / 338.1 MB, free: 9.93 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.09755, allocations: 101.1 kB / 338.2 MB, free: 9.828 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.09774, allocations: 153.5 kB / 338.3 MB, free: 9.664 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.09812, allocations: 282.1 kB / 338.6 MB, free: 9.379 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.09813, allocations: 4 kB / 338.6 MB, free: 9.375 MB / 286.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004898/0.09863, allocations: 373.7 kB / 339 MB, free: 9.004 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.09865, allocations: 4 kB / 339 MB, free: 9 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.09866, allocations: 0 / 339 MB, free: 9 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.09868, allocations: 4 kB / 339 MB, free: 8.996 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.09905, allocations: 103.8 kB / 339.1 MB, free: 8.895 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.09906, allocations: 4 kB / 339.1 MB, free: 8.891 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.09918, allocations: 12 kB / 339.1 MB, free: 8.879 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.09921, allocations: 12 kB / 339.1 MB, free: 8.867 MB / 286.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.0001407/0.09935, allocations: 169.7 kB / 339.3 MB, free: 8.691 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.917e-05/0.09943, allocations: 27.66 kB / 339.3 MB, free: 8.664 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.86e-05/0.09951, allocations: 37.88 kB / 339.4 MB, free: 8.629 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.09952, allocations: 8 kB / 339.4 MB, free: 8.621 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.09953, allocations: 0 / 339.4 MB, free: 8.621 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.09954, allocations: 3.984 kB / 339.4 MB, free: 8.617 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.1007, allocations: 0.9479 MB / 340.3 MB, free: 7.605 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1007, allocations: 0 / 340.3 MB, free: 7.605 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004047/0.1012, allocations: 91.91 kB / 340.4 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.1012, allocations: 4 kB / 340.4 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.1012, allocations: 19.92 kB / 340.4 MB, free: 7.492 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/0.1012, allocations: 7.984 kB / 340.4 MB, free: 7.484 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.1012, allocations: 7.938 kB / 340.4 MB, free: 7.477 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007064/0.1019, allocations: 0.6357 MB / 341.1 MB, free: 6.809 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.102, allocations: 100.8 kB / 341.2 MB, free: 6.691 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.102, allocations: 8 kB / 341.2 MB, free: 6.684 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.1022, allocations: 8 kB / 341.2 MB, free: 6.676 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.1023, allocations: 31.95 kB / 341.2 MB, free: 6.645 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.1023, allocations: 23.92 kB / 341.3 MB, free: 6.621 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.586e-05/0.1024, allocations: 136.1 kB / 341.4 MB, free: 6.488 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1024, allocations: 0 / 341.4 MB, free: 6.488 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003562/0.1028, allocations: 83.94 kB / 341.5 MB, free: 6.406 MB / 286.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 9.735e-05/0.1029, allocations: 107.2 kB / 341.6 MB, free: 6.293 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004144/0.1033, allocations: 290.7 kB / 341.9 MB, free: 6.012 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1033, allocations: 0 / 341.9 MB, free: 6.012 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.1035, allocations: 164.7 kB / 342 MB, free: 5.852 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.1041, allocations: 59.03 kB / 342.1 MB, free: 5.797 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.1055, allocations: 0.9971 MB / 343.1 MB, free: 4.766 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.1058, allocations: 0.7726 MB / 343.8 MB, free: 3.965 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.1059, allocations: 38.89 kB / 343.9 MB, free: 3.93 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.106, allocations: 27.44 kB / 343.9 MB, free: 3.902 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.106, allocations: 0 / 343.9 MB, free: 3.902 MB / 286.1 MB Notification: Performance of Templates: time 0.006029/0.112, allocations: 3.055 MB / 347 MB, free: 0.8516 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) 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) Reference file matches