Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001244/0.001244, allocations: 110.2 kB / 17.75 MB, free: 5.336 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.001245/0.001245, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009504/0.0009504, allocations: 47.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2131, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003273/0.2164, allocations: 2.473 MB / 403.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005505/0.217, allocations: 263 kB / 404.1 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.2171, allocations: 4 kB / 404.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.2173, allocations: 39.58 kB / 404.2 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.2175, allocations: 95.12 kB / 404.3 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.2177, allocations: 67.91 kB / 404.3 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003111/0.218, allocations: 322.4 kB / 404.7 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.2182, allocations: 107.1 kB / 404.8 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.2183, allocations: 115.6 kB / 404.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.2185, allocations: 127.4 kB / 405 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.2186, allocations: 28 kB / 405 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.647e-05/0.2186, allocations: 24 kB / 405 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.859e-05/0.2187, allocations: 59.81 kB / 405.1 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.2188, allocations: 139.3 kB / 405.2 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.2191, allocations: 319.9 kB / 405.6 MB, free: 4.707 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2191, allocations: 0 / 405.6 MB, free: 4.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2191, allocations: 0 / 405.6 MB, free: 4.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.2191, allocations: 7.938 kB / 405.6 MB, free: 4.699 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.0008315/0.22, allocations: 0.5614 MB / 406.1 MB, free: 4.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.22, allocations: 8.031 kB / 406.1 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.807e-05/0.2201, allocations: 36.56 kB / 406.2 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.2204, allocations: 251.8 kB / 406.4 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.2204, allocations: 24.94 kB / 406.4 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.094e-05/0.2205, allocations: 32.28 kB / 406.5 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.2209, allocations: 255.1 kB / 406.7 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.2209, allocations: 192 / 406.7 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.221, allocations: 15.94 kB / 406.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.221, allocations: 11.94 kB / 406.7 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/0.2213, allocations: 175.9 kB / 406.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009626/0.2222, allocations: 0.7381 MB / 407.7 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.2226, allocations: 276.9 kB / 407.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.2228, allocations: 121.7 kB / 408 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.2228, allocations: 4 kB / 408 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.2229, allocations: 38.56 kB / 408.1 MB, free: 1.984 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.793e-06/0.2229, allocations: 0 / 408.1 MB, free: 1.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002507/0.2254, allocations: 1.721 MB / 409.8 MB, free: 92 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.2255, allocations: 85.11 kB / 409.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.2256, allocations: 174.3 kB / 410.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.2256, allocations: 37.7 kB / 410.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.567e-05/0.2257, allocations: 136.7 kB / 410.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.2258, allocations: 177.4 kB / 410.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.982e-05/0.2259, allocations: 78.25 kB / 410.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2261, allocations: 334.8 kB / 410.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.2262, allocations: 113 kB / 410.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.2264, allocations: 153.5 kB / 411.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/0.2268, allocations: 286.7 kB / 411.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2268, allocations: 4 kB / 411.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004944/0.2273, allocations: 365.9 kB / 411.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.2274, allocations: 8 kB / 411.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.2274, allocations: 0 / 411.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.2274, allocations: 4 kB / 411.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.2278, allocations: 103.8 kB / 411.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.2278, allocations: 4 kB / 411.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.2279, allocations: 8 kB / 411.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.2279, allocations: 16 kB / 411.8 MB, free: 13.96 MB / 334.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.0001274/0.2281, allocations: 154.2 kB / 412 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/0.2282, allocations: 43.55 kB / 412 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.156e-05/0.2283, allocations: 41.81 kB / 412.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.2283, allocations: 3.984 kB / 412.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2283, allocations: 4 kB / 412.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.2283, allocations: 96.83 kB / 412.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.2284, allocations: 8 kB / 412.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.2286, allocations: 12 kB / 412.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.2286, allocations: 23.95 kB / 412.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008524/0.2295, allocations: 0.5352 MB / 412.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007511/0.2303, allocations: 0.7183 MB / 413.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001872/0.2305, allocations: 146.2 kB / 413.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.158e-05/0.2305, allocations: 136.3 kB / 413.8 MB, free: 12 MB / 334.1 MB Notification: Performance of Backend: time 2.71e-07/0.2306, allocations: 0 / 413.8 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006527/0.2312, allocations: 278.1 kB / 414 MB, free: 11.72 MB / 334.1 MB Notification: Performance of SimCode: time 0.00152/0.2327, allocations: 1.389 MB / 415.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of Templates: time 0.007013/0.2398, allocations: 3.799 MB / 419.2 MB, free: 6.512 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches