Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001028/0.001028, allocations: 195.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 226.6 MB / 244.3 MB, free: 8.312 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008817/0.0008814, allocations: 101.5 kB / 296.4 MB, free: 7.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002618/0.0002618, allocations: 4 kB / 356.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2097, allocations: 51.29 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.002318/0.212, allocations: 2.63 MB / 410.1 MB, free: 25.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009606/0.213, allocations: 0.7649 MB / 410.9 MB, free: 24.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.2132, allocations: 8 kB / 410.9 MB, free: 24.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.2133, allocations: 45.45 kB / 411 MB, free: 24.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.2135, allocations: 91.23 kB / 411 MB, free: 24.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.2137, allocations: 73.67 kB / 411.1 MB, free: 24.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.214, allocations: 414 kB / 411.5 MB, free: 23.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.2142, allocations: 110.6 kB / 411.6 MB, free: 23.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.2144, allocations: 147.4 kB / 411.8 MB, free: 23.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.2146, allocations: 162.7 kB / 411.9 MB, free: 23.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.87e-05/0.2146, allocations: 20 kB / 412 MB, free: 23.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.767e-05/0.2147, allocations: 23.94 kB / 412 MB, free: 23.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.272e-05/0.2147, allocations: 59.69 kB / 412 MB, free: 23.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.862e-05/0.2148, allocations: 89.52 kB / 412.1 MB, free: 23.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.215, allocations: 383.8 kB / 412.5 MB, free: 22.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.215, allocations: 0 / 412.5 MB, free: 22.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.215, allocations: 0 / 412.5 MB, free: 22.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.2151, allocations: 0 / 412.5 MB, free: 22.82 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001111/0.2162, allocations: 0.6735 MB / 413.2 MB, free: 22.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.2162, allocations: 12.03 kB / 413.2 MB, free: 22.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.683e-05/0.2163, allocations: 35.61 kB / 413.2 MB, free: 22.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.2166, allocations: 293.5 kB / 413.5 MB, free: 21.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.2166, allocations: 28.5 kB / 413.5 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.2166, allocations: 28 kB / 413.6 MB, free: 21.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006558/0.2173, allocations: 359.6 kB / 413.9 MB, free: 21.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2173, allocations: 0 / 413.9 MB, free: 21.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.2174, allocations: 12 kB / 413.9 MB, free: 21.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.2174, allocations: 8 kB / 413.9 MB, free: 21.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007364/0.2181, allocations: 338 kB / 414.3 MB, free: 20.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.2199, allocations: 1.303 MB / 415.6 MB, free: 19.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007052/0.2206, allocations: 363.5 kB / 415.9 MB, free: 19.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/0.221, allocations: 156.8 kB / 416.1 MB, free: 19.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.221, allocations: 4 kB / 416.1 MB, free: 19.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004655/0.2215, allocations: 213.7 kB / 416.3 MB, free: 18.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 2.254e-06/0.2215, allocations: 0 / 416.3 MB, free: 18.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001928/0.2234, allocations: 0.7202 MB / 417 MB, free: 18.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.2235, allocations: 106.8 kB / 417.1 MB, free: 17.92 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.2237, allocations: 299.1 kB / 417.4 MB, free: 17.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.2238, allocations: 29.7 kB / 417.4 MB, free: 17.58 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.973e-05/0.2239, allocations: 211.9 kB / 417.6 MB, free: 17.37 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.2239, allocations: 55.27 kB / 417.7 MB, free: 17.31 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.25e-05/0.2239, allocations: 4.094 kB / 417.7 MB, free: 17.31 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.863e-05/0.224, allocations: 342.8 kB / 418 MB, free: 16.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003304/0.2243, allocations: 132.2 kB / 418.2 MB, free: 16.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/0.2247, allocations: 220.7 kB / 418.4 MB, free: 16.58 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.2251, allocations: 181.5 kB / 418.6 MB, free: 16.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2251, allocations: 0 / 418.6 MB, free: 16.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001103/0.2262, allocations: 0.5094 MB / 419.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.2262, allocations: 41.64 kB / 419.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2262, allocations: 0 / 419.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003021/0.2266, allocations: 76.81 kB / 419.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.2268, allocations: 79.89 kB / 419.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.2289, allocations: 1.748 MB / 421 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.2292, allocations: 63.64 kB / 421.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.2292, allocations: 16 kB / 421.1 MB, free: 13.71 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.2294, allocations: 160.7 kB / 421.2 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.2294, allocations: 23.72 kB / 421.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.079e-05/0.2295, allocations: 30.2 kB / 421.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.2295, allocations: 0 / 421.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.2295, allocations: 4 kB / 421.3 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2295, allocations: 3.984 kB / 421.3 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.2308, allocations: 0.8316 MB / 422.1 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.2308, allocations: 0 / 422.1 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.231, allocations: 51.91 kB / 422.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001978/0.2312, allocations: 68.84 kB / 422.2 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.2313, allocations: 3.984 kB / 422.2 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/0.2327, allocations: 1.542 MB / 423.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2327, allocations: 3.953 kB / 423.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.234, allocations: 0.6125 MB / 424.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.2341, allocations: 108.8 kB / 424.5 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.2341, allocations: 4 kB / 424.5 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.2344, allocations: 47.86 kB / 424.6 MB, free: 9.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/0.2345, allocations: 35.94 kB / 424.6 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.2345, allocations: 4 kB / 424.6 MB, free: 9.941 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001497/0.2346, allocations: 206 kB / 424.8 MB, free: 9.738 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2346, allocations: 0 / 424.8 MB, free: 9.738 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003519/0.235, allocations: 87.75 kB / 424.9 MB, free: 9.652 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001068/0.2351, allocations: 99.25 kB / 425 MB, free: 9.547 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.2363, allocations: 0.5292 MB / 425.5 MB, free: 8.992 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2363, allocations: 3.938 kB / 425.5 MB, free: 8.988 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003912/0.2367, allocations: 251.2 kB / 425.8 MB, free: 8.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.2371, allocations: 56.75 kB / 425.8 MB, free: 8.676 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.2394, allocations: 1.01 MB / 426.8 MB, free: 7.633 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.2396, allocations: 0.7716 MB / 427.6 MB, free: 6.836 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.27e-05/0.2397, allocations: 23.44 kB / 427.6 MB, free: 6.812 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2397, allocations: 4 kB / 427.6 MB, free: 6.809 MB / 298.7 MB Notification: Performance of Templates: time 0.005268/0.245, allocations: 5.228 MB / 432.9 MB, free: 1.609 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches