Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009373/0.0009375, allocations: 171.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.000938/0.000938, allocations: 90.67 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.387e-05/3.388e-05, allocations: 4 kB / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09584/0.09589, allocations: 47.58 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3538/0.4498, allocations: 79.3 MB / 449.3 MB, free: 13.97 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.4501, allocations: 77.45 kB / 449.4 MB, free: 13.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01724/0.4673, allocations: 6.061 MB / 455.5 MB, free: 8.742 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.806e-06/0.4674, allocations: 3.938 kB / 455.5 MB, free: 8.738 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.996e-05/0.4674, allocations: 7.984 kB / 455.5 MB, free: 8.73 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.001011/0.4684, allocations: 0.5858 MB / 456.1 MB, free: 8.113 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.4685, allocations: 8.031 kB / 456.1 MB, free: 8.105 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.851e-05/0.4686, allocations: 31.62 kB / 456.1 MB, free: 8.074 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.469, allocations: 280.8 kB / 456.4 MB, free: 7.785 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.469, allocations: 18.62 kB / 456.4 MB, free: 7.773 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.4691, allocations: 22.44 kB / 456.4 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.4695, allocations: 220.4 kB / 456.6 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.4695, allocations: 0 / 456.6 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.4695, allocations: 6.688 kB / 456.7 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.4695, allocations: 8 kB / 456.7 MB, free: 7.594 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/0.4698, allocations: 169.6 kB / 456.8 MB, free: 7.488 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.4715, allocations: 0.9836 MB / 457.8 MB, free: 6.605 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.4719, allocations: 164.7 kB / 458 MB, free: 6.488 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.472, allocations: 67.55 kB / 458 MB, free: 6.445 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.472, allocations: 0 / 458 MB, free: 6.445 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002731/0.4723, allocations: 150.3 kB / 458.2 MB, free: 6.305 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.4723, allocations: 0 / 458.2 MB, free: 6.305 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.000553/0.4729, allocations: 231.6 kB / 458.4 MB, free: 6.109 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/0.473, allocations: 106.8 kB / 458.5 MB, free: 5.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.4732, allocations: 244 kB / 458.8 MB, free: 5.773 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.4732, allocations: 29.7 kB / 458.8 MB, free: 5.738 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.437e-05/0.4733, allocations: 178.3 kB / 459 MB, free: 5.594 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.4734, allocations: 62.39 kB / 459 MB, free: 5.539 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.4734, allocations: 3.938 kB / 459 MB, free: 5.539 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4736, allocations: 330.1 kB / 459.3 MB, free: 5.219 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.4737, allocations: 66.66 kB / 459.4 MB, free: 5.172 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.4738, allocations: 119.3 kB / 459.5 MB, free: 5.055 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.474, allocations: 97.84 kB / 459.6 MB, free: 4.969 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.474, allocations: 0 / 459.6 MB, free: 4.969 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006119/0.4746, allocations: 334.1 kB / 459.9 MB, free: 4.629 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002988/0.4749, allocations: 0.6453 MB / 460.6 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.4749, allocations: 3.938 kB / 460.6 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002666/0.4752, allocations: 52.83 kB / 460.6 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.4755, allocations: 51.91 kB / 460.7 MB, free: 3.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000462/0.476, allocations: 0.5797 MB / 461.3 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/0.4763, allocations: 55.88 kB / 461.3 MB, free: 3.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.4763, allocations: 11.94 kB / 461.3 MB, free: 3.148 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.587e-06/0.4764, allocations: 4 kB / 461.3 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004559/0.4768, allocations: 251 kB / 461.6 MB, free: 2.891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/0.4768, allocations: 0 / 461.6 MB, free: 2.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.867e-05/0.4769, allocations: 49.08 kB / 461.6 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.4772, allocations: 51.91 kB / 461.7 MB, free: 2.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.4784, allocations: 1.534 MB / 463.2 MB, free: 1.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/0.4787, allocations: 47.72 kB / 463.3 MB, free: 1.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.4787, allocations: 12.06 kB / 463.3 MB, free: 1.059 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 (21): * Single equations (assignments): 19 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001696/0.4789, allocations: 118 kB / 463.4 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.479, allocations: 23.72 kB / 463.4 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.624e-05/0.4791, allocations: 33.91 kB / 463.5 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4791, allocations: 0 / 463.5 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4791, allocations: 3.938 kB / 463.5 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.4791, allocations: 0 / 463.5 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004726/0.4796, allocations: 313.3 kB / 463.8 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4796, allocations: 0 / 463.8 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.4798, allocations: 39.97 kB / 463.8 MB, free: 496 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001441/0.48, allocations: 53.02 kB / 463.9 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.48, allocations: 3.984 kB / 463.9 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/0.4814, allocations: 1.515 MB / 465.4 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4814, allocations: 0 / 465.4 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000574/0.482, allocations: 337.5 kB / 465.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.407e-05/0.4821, allocations: 100.8 kB / 465.8 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.4821, allocations: 4 kB / 465.8 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.4824, allocations: 39.95 kB / 465.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/0.4824, allocations: 24.03 kB / 465.9 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.4825, allocations: 4 kB / 465.9 MB, free: 14.24 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001863/0.4827, allocations: 191.1 kB / 466.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4827, allocations: 0 / 466.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004943/0.4832, allocations: 139.7 kB / 466.2 MB, free: 13.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 8 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002296/0.4834, allocations: 107.2 kB / 466.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007752/0.4842, allocations: 0.5002 MB / 466.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4842, allocations: 0 / 466.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.4845, allocations: 202.4 kB / 467 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.4848, allocations: 45.09 kB / 467 MB, free: 13.01 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007336/0.4855, allocations: 357.4 kB / 467.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.4859, allocations: 0.7609 MB / 468.2 MB, free: 11.85 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001738/0.486, allocations: 38.03 kB / 468.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.4861, allocations: 23.44 kB / 468.2 MB, free: 11.79 MB / 346.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4861, allocations: 0 / 468.2 MB, free: 11.79 MB / 346.7 MB Notification: Performance of Templates: time 0.008193/0.4943, allocations: 4.042 MB / 472.3 MB, free: 7.746 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches