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.001634/0.001634, allocations: 101.4 kB / 18.39 MB, free: 4.664 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.001547/0.001547, allocations: 189.1 kB / 19.33 MB, free: 3.738 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.485/1.485, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001363/0.001363, allocations: 47.92 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09485/0.09623, allocations: 46.61 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.00405/0.1003, allocations: 2.46 MB / 378.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007304/0.1011, allocations: 255 kB / 378.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002334/0.1014, allocations: 4 kB / 378.5 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.1016, allocations: 47.5 kB / 378.6 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002574/0.1019, allocations: 95.19 kB / 378.7 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.1021, allocations: 55.92 kB / 378.7 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000422/0.1026, allocations: 338.3 kB / 379 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002334/0.1028, allocations: 103 kB / 379.1 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.103, allocations: 119.6 kB / 379.3 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.1032, allocations: 127.4 kB / 379.4 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.267e-05/0.1033, allocations: 28 kB / 379.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.486e-05/0.1033, allocations: 24 kB / 379.4 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.631e-05/0.1034, allocations: 59.77 kB / 379.5 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.1036, allocations: 151.3 kB / 379.6 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003359/0.1039, allocations: 310.9 kB / 379.9 MB, free: 436 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1039, allocations: 0 / 379.9 MB, free: 436 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1039, allocations: 0 / 379.9 MB, free: 436 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.1039, allocations: 0 / 379.9 MB, free: 436 kB / 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.1822/0.2862, allocations: 0.5625 MB / 380.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2862, allocations: 9.656 kB / 380.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.205e-05/0.2863, allocations: 32.34 kB / 380.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.2866, allocations: 249.4 kB / 380.8 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.2866, allocations: 18.06 kB / 380.8 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/0.2867, allocations: 31.02 kB / 380.8 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004522/0.2872, allocations: 252.2 kB / 381.1 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.2872, allocations: 4.141 kB / 381.1 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/0.2872, allocations: 12.75 kB / 381.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.2872, allocations: 7.969 kB / 381.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.2876, allocations: 179.5 kB / 381.3 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009454/0.2885, allocations: 0.7422 MB / 382 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.2889, allocations: 272.9 kB / 382.3 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.2891, allocations: 126 kB / 382.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.2891, allocations: 12.58 kB / 382.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.2891, allocations: 40.12 kB / 382.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 2.104e-06/0.2891, allocations: 0 / 382.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002522/0.2916, allocations: 1.706 MB / 384.2 MB, free: 10.99 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.2917, allocations: 87.17 kB / 384.3 MB, free: 10.9 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.2919, allocations: 186.8 kB / 384.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.2919, allocations: 31.92 kB / 384.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.456e-05/0.292, allocations: 144.5 kB / 384.6 MB, free: 10.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.549e-05/0.2921, allocations: 172.3 kB / 384.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.2922, allocations: 82.2 kB / 384.9 MB, free: 10.42 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.675e-05/0.2923, allocations: 337.3 kB / 385.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.2924, allocations: 107.7 kB / 385.3 MB, free: 10.06 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.2926, allocations: 158.5 kB / 385.5 MB, free: 9.977 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/0.293, allocations: 285.8 kB / 385.7 MB, free: 9.824 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.293, allocations: 0 / 385.7 MB, free: 9.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004498/0.2935, allocations: 370.8 kB / 386.1 MB, free: 9.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2935, allocations: 6.031 kB / 386.1 MB, free: 9.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2935, allocations: 1.859 kB / 386.1 MB, free: 9.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.2935, allocations: 3.25 kB / 386.1 MB, free: 9.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/0.2939, allocations: 99.39 kB / 386.2 MB, free: 9.652 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.2939, allocations: 4.328 kB / 386.2 MB, free: 9.652 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.294, allocations: 11.66 kB / 386.2 MB, free: 9.645 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.294, allocations: 19.73 kB / 386.2 MB, free: 9.637 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.0001094/0.2942, allocations: 155.2 kB / 386.4 MB, free: 9.488 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-05/0.2942, allocations: 35.53 kB / 386.4 MB, free: 9.469 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.344e-05/0.2943, allocations: 39.53 kB / 386.5 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.2943, allocations: 5.75 kB / 386.5 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.2943, allocations: 0 / 386.5 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.2944, allocations: 3.859 kB / 386.5 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.2954, allocations: 0.942 MB / 387.4 MB, free: 8.816 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2955, allocations: 0.7031 kB / 387.4 MB, free: 8.816 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004123/0.2959, allocations: 96.88 kB / 387.5 MB, free: 8.809 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.2959, allocations: 2.75 kB / 387.5 MB, free: 8.809 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.2959, allocations: 16.73 kB / 387.5 MB, free: 8.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.2959, allocations: 7.312 kB / 387.5 MB, free: 8.793 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2959, allocations: 1.641 kB / 387.5 MB, free: 8.793 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006371/0.2966, allocations: 0.6385 MB / 388.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.2966, allocations: 105.5 kB / 388.3 MB, free: 8.281 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.2967, allocations: 14.61 kB / 388.3 MB, free: 8.277 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.2968, allocations: 11.28 kB / 388.3 MB, free: 8.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.2969, allocations: 34.59 kB / 388.3 MB, free: 8.258 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.2969, allocations: 13.56 kB / 388.3 MB, free: 8.254 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.658e-05/0.297, allocations: 131.3 kB / 388.5 MB, free: 8.164 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.297, allocations: 1.188 kB / 388.5 MB, free: 8.164 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003629/0.2974, allocations: 85.88 kB / 388.6 MB, free: 8.145 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.0001071/0.2975, allocations: 104.4 kB / 388.7 MB, free: 8.051 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004325/0.2979, allocations: 293.9 kB / 389 MB, free: 7.957 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2979, allocations: 4.125 kB / 389 MB, free: 7.953 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.2981, allocations: 158.1 kB / 389.1 MB, free: 7.902 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005896/0.2987, allocations: 72.05 kB / 389.2 MB, free: 7.875 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.3, allocations: 1.022 MB / 390.2 MB, free: 7.164 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.3002, allocations: 0.772 MB / 391 MB, free: 6.461 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.468e-05/0.3003, allocations: 33.59 kB / 391 MB, free: 6.449 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3003, allocations: 1.094 kB / 391 MB, free: 6.449 MB / 318.1 MB Notification: Performance of Templates: time 0.007254/0.3076, allocations: 3.72 MB / 394.7 MB, free: 6.07 MB / 318.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 -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