Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 95.56 kB / 17 MB, free: 6.418 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.001415/0.001415, allocations: 188.4 kB / 17.89 MB, free: 5.945 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.525/1.525, allocations: 223.2 MB / 241.9 MB, free: 264 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2487/0.2487, allocations: 44.25 MB / 337.3 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005854/0.0005855, allocations: 12 kB / 409.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1765, allocations: 61.92 MB / 471.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.005135/0.1817, allocations: 2.84 MB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004247/0.186, allocations: 1.478 MB / 475.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009233/0.1869, allocations: 19.88 kB / 475.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008221/0.1878, allocations: 103.2 kB / 476 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009861/0.1888, allocations: 155 kB / 476.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.1906, allocations: 423 kB / 476.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001899/0.1925, allocations: 0.8186 MB / 477.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006214/0.1931, allocations: 169 kB / 477.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008107/0.1939, allocations: 302.6 kB / 477.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008465/0.1948, allocations: 334.3 kB / 478.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002364/0.195, allocations: 24 kB / 478.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004011/0.1955, allocations: 127.8 kB / 478.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002883/0.1958, allocations: 143.3 kB / 478.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002474/0.196, allocations: 133.3 kB / 478.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009462/0.197, allocations: 0.6314 MB / 479.2 MB, free: 6.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.197, allocations: 0 / 479.2 MB, free: 6.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.197, allocations: 0 / 479.2 MB, free: 6.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.913e-05/0.197, allocations: 0 / 479.2 MB, free: 6.035 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003067/0.2001, allocations: 1.071 MB / 480.3 MB, free: 4.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.2002, allocations: 8.031 kB / 480.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003293/0.2005, allocations: 86.97 kB / 480.4 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.2017, allocations: 0.5343 MB / 480.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.525e-05/0.2018, allocations: 37 kB / 481 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.202, allocations: 59.94 kB / 481 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.2034, allocations: 0.6252 MB / 481.7 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.2034, allocations: 0 / 481.7 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.268e-05/0.2035, allocations: 20 kB / 481.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.2035, allocations: 15.98 kB / 481.7 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.2047, allocations: 0.4944 MB / 482.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003794/0.2085, allocations: 2.675 MB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.2095, allocations: 0.5354 MB / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005543/0.2101, allocations: 294.8 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.216e-05/0.2102, allocations: 8.234 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.2102, allocations: 34.8 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 1.953e-06/0.2102, allocations: 0 / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.002707/0.2129, allocations: 1.227 MB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.798e-05/0.213, allocations: 136.5 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009426/0.214, allocations: 0.6489 MB / 487.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/0.214, allocations: 33.7 kB / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003028/0.2143, allocations: 360.7 kB / 488.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.2145, allocations: 185.4 kB / 488.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.2146, allocations: 8 kB / 488.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.2147, allocations: 334 kB / 488.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006768/0.2154, allocations: 301.1 kB / 488.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007745/0.2162, allocations: 460.8 kB / 489.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007467/0.217, allocations: 331.8 kB / 489.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.217, allocations: 4 kB / 489.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001737/0.2187, allocations: 0.8784 MB / 490.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001773/0.2189, allocations: 217.3 kB / 490.8 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.2189, allocations: 4 kB / 490.8 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.219, allocations: 8 kB / 490.8 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009085/0.2199, allocations: 215.7 kB / 491 MB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.175e-05/0.2199, allocations: 8 kB / 491 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005628/0.2205, allocations: 91.62 kB / 491.1 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/0.2206, allocations: 24 kB / 491.1 MB, free: 9.637 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.2206, allocations: 4 kB / 491.1 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001489/0.2221, allocations: 0.7374 MB / 491.9 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.2221, allocations: 4 kB / 491.9 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2221, allocations: 11.95 kB / 491.9 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008107/0.2229, allocations: 204.1 kB / 492.1 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.693e-05/0.223, allocations: 8 kB / 492.1 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005568/0.2235, allocations: 79.62 kB / 492.2 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/0.2236, allocations: 32 kB / 492.2 MB, free: 8.562 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004144/0.224, allocations: 296.8 kB / 492.5 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.2242, allocations: 75.06 kB / 492.6 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.2244, allocations: 90.91 kB / 492.7 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.2245, allocations: 7.953 kB / 492.7 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.2245, allocations: 7.938 kB / 492.7 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.2245, allocations: 7.922 kB / 492.7 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/0.2268, allocations: 1.287 MB / 494 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.2268, allocations: 3.953 kB / 494 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006654/0.2275, allocations: 119.9 kB / 494.1 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.2275, allocations: 4 kB / 494.1 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-05/0.2276, allocations: 12 kB / 494.1 MB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.2276, allocations: 7.984 kB / 494.1 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2276, allocations: 0 / 494.1 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/0.2298, allocations: 1.227 MB / 495.4 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.2301, allocations: 196.2 kB / 495.5 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.2302, allocations: 23.98 kB / 495.6 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005954/0.2308, allocations: 59.94 kB / 495.6 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.2309, allocations: 43.94 kB / 495.7 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.447e-05/0.231, allocations: 12 kB / 495.7 MB, free: 4.973 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007497/0.2317, allocations: 455 kB / 496.1 MB, free: 4.531 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.2318, allocations: 0 / 496.1 MB, free: 4.531 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001013/0.2328, allocations: 224 kB / 496.3 MB, free: 4.312 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003519/0.2331, allocations: 147.7 kB / 496.5 MB, free: 4.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002448/0.2356, allocations: 1.048 MB / 497.5 MB, free: 3.113 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2356, allocations: 0 / 497.5 MB, free: 3.113 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006856/0.2363, allocations: 320 kB / 497.8 MB, free: 2.801 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.2375, allocations: 190.6 kB / 498 MB, free: 2.621 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003047/0.2406, allocations: 1.719 MB / 499.8 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006436/0.2412, allocations: 0.9465 MB / 0.489 GB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006072/0.2418, allocations: 144.8 kB / 0.4891 GB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.242, allocations: 47.42 kB / 0.4891 GB, free: 15.69 MB / 382.1 MB Notification: Performance of SimCode: time 2.725e-06/0.242, allocations: 0 / 0.4891 GB, free: 15.69 MB / 382.1 MB Notification: Performance of Templates: time 0.01625/0.2583, allocations: 7.416 MB / 0.4964 GB, free: 8.336 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_InitialOutput/Continuous_InitialOutput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches