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.00115/0.00115, allocations: 104.4 kB / 18.35 MB, free: 4.645 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.0009952/0.0009953, allocations: 191 kB / 19.29 MB, free: 3.715 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.294/1.294, allocations: 205.1 MB / 225.2 MB, free: 12.29 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.001134/0.001134, allocations: 52.34 kB / 282.1 MB, free: 2.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08282/0.08397, allocations: 46.63 MB / 328.7 MB, free: 3.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003502/0.08752, allocations: 2.466 MB / 331.2 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004483/0.08799, allocations: 259 kB / 331.4 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.08812, allocations: 4 kB / 331.5 MB, free: 1.059 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.08828, allocations: 39.58 kB / 331.5 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.08844, allocations: 95.12 kB / 331.6 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.08862, allocations: 63.91 kB / 331.6 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003457/0.08897, allocations: 322.5 kB / 332 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.08918, allocations: 103.1 kB / 332.1 MB, free: 456 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.08929, allocations: 107.6 kB / 332.2 MB, free: 348 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.08947, allocations: 135.4 kB / 332.3 MB, free: 212 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.829e-05/0.08952, allocations: 24 kB / 332.3 MB, free: 188 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.876e-05/0.08956, allocations: 28 kB / 332.3 MB, free: 160 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.205e-05/0.08962, allocations: 55.83 kB / 332.4 MB, free: 104 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.08977, allocations: 143.3 kB / 332.5 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.09007, allocations: 322.7 kB / 332.9 MB, free: 15.64 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.09008, allocations: 4 kB / 332.9 MB, free: 15.64 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.09009, allocations: 0 / 332.9 MB, free: 15.64 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.0901, allocations: 0 / 332.9 MB, free: 15.64 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.0008185/0.09093, allocations: 0.5576 MB / 333.4 MB, free: 15.03 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.09097, allocations: 12.02 kB / 333.4 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.22e-05/0.09104, allocations: 36.55 kB / 333.5 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.09134, allocations: 255.7 kB / 333.7 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.09137, allocations: 20.94 kB / 333.7 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.09142, allocations: 24.38 kB / 333.8 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.0918, allocations: 255.1 kB / 334 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.09183, allocations: 8.172 kB / 334 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.09185, allocations: 11.94 kB / 334 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.09187, allocations: 8 kB / 334 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/0.09216, allocations: 175.8 kB / 334.2 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009785/0.09314, allocations: 0.7461 MB / 335 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003936/0.09355, allocations: 273 kB / 335.2 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.09374, allocations: 125.7 kB / 335.3 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.09377, allocations: 4 kB / 335.4 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.09381, allocations: 38.56 kB / 335.4 MB, free: 12.93 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 1.553e-06/0.09381, allocations: 0 / 335.4 MB, free: 12.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.002641/0.09646, allocations: 1.708 MB / 337.1 MB, free: 11.05 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.09653, allocations: 81.11 kB / 337.2 MB, free: 10.95 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.09673, allocations: 190.2 kB / 337.4 MB, free: 10.75 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.09676, allocations: 29.7 kB / 337.4 MB, free: 10.71 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.379e-05/0.09686, allocations: 148.6 kB / 337.5 MB, free: 10.56 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.097, allocations: 173.5 kB / 337.7 MB, free: 10.39 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.0971, allocations: 70.27 kB / 337.8 MB, free: 10.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.09726, allocations: 346.8 kB / 338.1 MB, free: 9.969 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.09744, allocations: 105 kB / 338.2 MB, free: 9.863 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.09765, allocations: 153.5 kB / 338.4 MB, free: 9.699 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003833/0.09804, allocations: 282.2 kB / 338.6 MB, free: 9.414 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.09805, allocations: 0 / 338.6 MB, free: 9.414 MB / 286.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004892/0.09854, allocations: 373.8 kB / 339 MB, free: 9.043 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.09856, allocations: 4 kB / 339 MB, free: 9.039 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.09857, allocations: 0 / 339 MB, free: 9.039 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.09859, allocations: 4 kB / 339 MB, free: 9.035 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/0.09897, allocations: 103.8 kB / 339.1 MB, free: 8.934 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.09899, allocations: 8.062 kB / 339.1 MB, free: 8.926 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.09911, allocations: 12 kB / 339.1 MB, free: 8.914 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.09913, allocations: 12 kB / 339.1 MB, free: 8.902 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.000127/0.09927, allocations: 157.7 kB / 339.3 MB, free: 8.738 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-05/0.09934, allocations: 27.66 kB / 339.3 MB, free: 8.711 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.797e-05/0.09943, allocations: 41.86 kB / 339.4 MB, free: 8.672 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.09944, allocations: 8 kB / 339.4 MB, free: 8.664 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.09945, allocations: 0 / 339.4 MB, free: 8.664 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.09947, allocations: 3.984 kB / 339.4 MB, free: 8.66 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.1007, allocations: 0.9478 MB / 340.3 MB, free: 7.648 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1008, allocations: 3.984 kB / 340.3 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004156/0.1012, allocations: 95.89 kB / 340.4 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.1012, allocations: 4 kB / 340.4 MB, free: 7.547 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.703e-05/0.1012, allocations: 11.94 kB / 340.4 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.1012, allocations: 8.062 kB / 340.4 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1012, allocations: 0 / 340.4 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007514/0.102, allocations: 0.6434 MB / 341.1 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.532e-05/0.1021, allocations: 104.8 kB / 341.2 MB, free: 6.73 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.1021, allocations: 8 kB / 341.2 MB, free: 6.723 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.1023, allocations: 16 kB / 341.2 MB, free: 6.707 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.1024, allocations: 27.97 kB / 341.2 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.1024, allocations: 19.92 kB / 341.3 MB, free: 6.66 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.515e-05/0.1025, allocations: 132.2 kB / 341.4 MB, free: 6.531 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1025, allocations: 0 / 341.4 MB, free: 6.531 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000353/0.1029, allocations: 80 kB / 341.5 MB, free: 6.453 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 0.0001166/0.103, allocations: 107.2 kB / 341.6 MB, free: 6.34 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004625/0.1035, allocations: 298.6 kB / 341.9 MB, free: 6.051 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1035, allocations: 3.938 kB / 341.9 MB, free: 6.047 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.1037, allocations: 160.6 kB / 342 MB, free: 5.891 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005819/0.1043, allocations: 62.97 kB / 342.1 MB, free: 5.832 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.1057, allocations: 0.9934 MB / 343.1 MB, free: 4.805 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.1061, allocations: 0.7764 MB / 343.9 MB, free: 4 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.1062, allocations: 30.95 kB / 343.9 MB, free: 3.973 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.959e-05/0.1063, allocations: 31.44 kB / 343.9 MB, free: 3.941 MB / 286.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1063, allocations: 0 / 343.9 MB, free: 3.941 MB / 286.1 MB Notification: Performance of Templates: time 0.006073/0.1124, allocations: 3.048 MB / 347 MB, free: 0.8984 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 cvode -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