Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002335/0.002335, allocations: 182.2 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 82.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.421e-05/3.434e-05, allocations: 4 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1035, allocations: 47.58 MB / 369.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4017/0.5053, allocations: 79.3 MB / 448.4 MB, free: 13.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/0.5057, allocations: 86 kB / 448.5 MB, free: 13.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02948/0.5352, allocations: 6.062 MB / 454.5 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5353, allocations: 0 / 454.5 MB, free: 8.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.451e-05/0.5353, allocations: 4 kB / 454.6 MB, free: 8.676 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001464/0.5368, allocations: 0.5854 MB / 455.1 MB, free: 8.062 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.5368, allocations: 8.031 kB / 455.1 MB, free: 8.055 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.537, allocations: 31.62 kB / 455.2 MB, free: 8.023 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005353/0.5375, allocations: 282.3 kB / 455.5 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.5376, allocations: 19.08 kB / 455.5 MB, free: 7.719 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.461e-05/0.5376, allocations: 22.25 kB / 455.5 MB, free: 7.703 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005917/0.5382, allocations: 217.1 kB / 455.7 MB, free: 7.551 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.5383, allocations: 0 / 455.7 MB, free: 7.551 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.791e-05/0.5383, allocations: 18.61 kB / 455.7 MB, free: 7.539 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.5384, allocations: 4 kB / 455.7 MB, free: 7.535 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005232/0.5389, allocations: 177.4 kB / 455.9 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002697/0.5416, allocations: 0.9577 MB / 456.9 MB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006491/0.5423, allocations: 273 kB / 457.1 MB, free: 6.348 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002819/0.5426, allocations: 88.23 kB / 457.2 MB, free: 6.289 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.5427, allocations: 11.84 kB / 457.2 MB, free: 6.277 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003709/0.543, allocations: 155.9 kB / 457.4 MB, free: 6.133 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 3.136e-06/0.5431, allocations: 3.938 kB / 457.4 MB, free: 6.129 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008644/0.5439, allocations: 227.3 kB / 457.6 MB, free: 5.941 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/0.544, allocations: 102.8 kB / 457.7 MB, free: 5.816 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/0.5444, allocations: 232.1 kB / 457.9 MB, free: 5.617 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/0.5445, allocations: 37.5 kB / 458 MB, free: 5.578 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.5447, allocations: 233.2 kB / 458.2 MB, free: 5.371 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.947e-05/0.5447, allocations: 58.81 kB / 458.2 MB, free: 5.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.016e-05/0.5448, allocations: 7.688 kB / 458.3 MB, free: 5.316 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.5449, allocations: 318.8 kB / 458.6 MB, free: 5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.5451, allocations: 67.05 kB / 458.6 MB, free: 4.957 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.5454, allocations: 123.2 kB / 458.8 MB, free: 4.832 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.5457, allocations: 101.2 kB / 458.9 MB, free: 4.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5457, allocations: 0 / 458.9 MB, free: 4.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009416/0.5466, allocations: 313.9 kB / 459.2 MB, free: 4.488 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002928/0.5469, allocations: 0.641 MB / 459.8 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.547, allocations: 7.938 kB / 459.8 MB, free: 3.797 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002336/0.5472, allocations: 36.47 kB / 459.8 MB, free: 3.766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005191/0.5477, allocations: 67.84 kB / 459.9 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004899/0.5483, allocations: 0.5516 MB / 460.5 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005872/0.5489, allocations: 59.52 kB / 460.5 MB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.5489, allocations: 8 kB / 460.5 MB, free: 3.078 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.5489, allocations: 4 kB / 460.5 MB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006743/0.5496, allocations: 244.8 kB / 460.8 MB, free: 2.891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5496, allocations: 0 / 460.8 MB, free: 2.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001089/0.5498, allocations: 28.36 kB / 460.8 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004961/0.5503, allocations: 67.89 kB / 460.9 MB, free: 2.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.5516, allocations: 1.374 MB / 462.2 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004637/0.5521, allocations: 51.88 kB / 462.3 MB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.5521, allocations: 7.984 kB / 462.3 MB, free: 1.293 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.5523, allocations: 128.5 kB / 462.4 MB, free: 1.168 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.119e-05/0.5524, allocations: 27.66 kB / 462.4 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.559e-05/0.5525, allocations: 29.14 kB / 462.5 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.5525, allocations: 4 kB / 462.5 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.5525, allocations: 4 kB / 462.5 MB, free: 1.117 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.5525, allocations: 0 / 462.5 MB, free: 1.117 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.554, allocations: 0.6355 MB / 463.1 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.554, allocations: 4.031 kB / 463.1 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004448/0.5544, allocations: 47.97 kB / 463.2 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001454/0.5546, allocations: 32.59 kB / 463.2 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.5546, allocations: 0 / 463.2 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/0.5562, allocations: 1.369 MB / 464.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.07e-05/0.5563, allocations: 7.891 kB / 464.6 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.5573, allocations: 417 kB / 465 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.5575, allocations: 104.8 kB / 465.1 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.299e-05/0.5576, allocations: 4 kB / 465.1 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005047/0.5581, allocations: 40.03 kB / 465.1 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.5582, allocations: 27.89 kB / 465.2 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.5583, allocations: 4 kB / 465.2 MB, free: 14.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002966/0.5586, allocations: 191.1 kB / 465.3 MB, free: 14.15 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5586, allocations: 0 / 465.3 MB, free: 14.15 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000756/0.5594, allocations: 131.7 kB / 465.5 MB, free: 14.02 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002089/0.5596, allocations: 112.1 kB / 465.6 MB, free: 13.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.5607, allocations: 0.4943 MB / 466.1 MB, free: 13.37 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5608, allocations: 0 / 466.1 MB, free: 13.37 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003899/0.5612, allocations: 202.5 kB / 466.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005193/0.5617, allocations: 50.16 kB / 466.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.5629, allocations: 398.7 kB / 466.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.5633, allocations: 0.7641 MB / 467.5 MB, free: 11.9 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.5635, allocations: 19.44 kB / 467.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5635, allocations: 0 / 467.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of Templates: time 0.01028/0.5738, allocations: 4.37 MB / 471.9 MB, free: 7.512 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches