Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001732/0.001732, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009676/0.0009677, allocations: 92 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.864e-05, allocations: 8 kB / 343.7 MB, free: 8.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1029, allocations: 51.48 MB / 395.2 MB, free: 4.766 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3089/0.4119, allocations: 81.75 MB / 476.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.4122, allocations: 79.08 kB / 477 MB, free: 10.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01714/0.4293, allocations: 6.889 MB / 483.9 MB, free: 5.637 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4293, allocations: 3.172 kB / 483.9 MB, free: 5.637 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.4294, allocations: 15.98 kB / 483.9 MB, free: 5.621 MB / 346.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.0008893/0.4303, allocations: 0.6215 MB / 484.5 MB, free: 4.973 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.4303, allocations: 8.031 kB / 484.5 MB, free: 4.965 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.165e-05/0.4304, allocations: 35.62 kB / 484.6 MB, free: 4.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.4307, allocations: 305.5 kB / 484.9 MB, free: 4.633 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.4307, allocations: 8 kB / 484.9 MB, free: 4.625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.4308, allocations: 19.94 kB / 484.9 MB, free: 4.609 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003257/0.4311, allocations: 194.4 kB / 485.1 MB, free: 4.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003934/0.4315, allocations: 257.7 kB / 485.3 MB, free: 4.301 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.4316, allocations: 0 / 485.3 MB, free: 4.301 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.4316, allocations: 3.438 kB / 485.3 MB, free: 4.301 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.4316, allocations: 8 kB / 485.4 MB, free: 4.293 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.4335, allocations: 1.27 MB / 486.6 MB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.4337, allocations: 130.6 kB / 486.8 MB, free: 3.094 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.096e-05/0.4338, allocations: 66.59 kB / 486.8 MB, free: 3.051 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.4338, allocations: 4 kB / 486.8 MB, free: 3.047 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.434, allocations: 138.3 kB / 487 MB, free: 2.918 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.4341, allocations: 0 / 487 MB, free: 2.918 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006212/0.4347, allocations: 250.4 kB / 487.2 MB, free: 2.707 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.4347, allocations: 106.8 kB / 487.3 MB, free: 2.578 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.435, allocations: 234.8 kB / 487.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.435, allocations: 25.7 kB / 487.6 MB, free: 2.359 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.583e-05/0.4351, allocations: 210.8 kB / 487.8 MB, free: 2.184 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.4351, allocations: 53.78 kB / 487.8 MB, free: 2.137 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/0.4351, allocations: 4 kB / 487.8 MB, free: 2.133 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.435e-05/0.4352, allocations: 332.9 kB / 488.1 MB, free: 1.809 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.475e-05/0.4353, allocations: 71.38 kB / 488.2 MB, free: 1.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.4355, allocations: 154.1 kB / 488.4 MB, free: 1.609 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.4356, allocations: 81.16 kB / 488.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4356, allocations: 0 / 488.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006065/0.4362, allocations: 330.8 kB / 488.8 MB, free: 1.289 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.4363, allocations: 36.81 kB / 488.8 MB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4363, allocations: 4 kB / 488.8 MB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001886/0.4365, allocations: 54.09 kB / 488.9 MB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.4367, allocations: 60.02 kB / 488.9 MB, free: 1.145 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.438, allocations: 1.493 MB / 490.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003523/0.4383, allocations: 63.72 kB / 490.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.4384, allocations: 17.81 kB / 490.5 MB, free: 15.6 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: derivative.opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real 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 () * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001538/0.4385, allocations: 112.9 kB / 490.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.4386, allocations: 27.72 kB / 490.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.466e-05/0.4386, allocations: 29.7 kB / 490.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4386, allocations: 0 / 490.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.4386, allocations: 0 / 490.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4387, allocations: 0 / 490.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.4389, allocations: 300.7 kB / 491 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.439, allocations: 0 / 491 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.4392, allocations: 39.72 kB / 491 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001174/0.4393, allocations: 50.09 kB / 491 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.4393, allocations: 4 kB / 491 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/0.4406, allocations: 1.481 MB / 492.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.4406, allocations: 0 / 492.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006686/0.4413, allocations: 353.5 kB / 492.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.02e-05/0.4414, allocations: 96.8 kB / 493 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.4414, allocations: 4 kB / 493 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.4417, allocations: 42.27 kB / 493 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.717e-05/0.4418, allocations: 34.73 kB / 493 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.4418, allocations: 0 / 493 MB, free: 13.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001718/0.442, allocations: 189.4 kB / 493.2 MB, free: 13 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.442, allocations: 0 / 493.2 MB, free: 13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003735/0.4424, allocations: 87.67 kB / 493.3 MB, free: 12.92 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001582/0.4426, allocations: 99.25 kB / 493.4 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004901/0.4431, allocations: 336.7 kB / 493.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4431, allocations: 0 / 493.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.4433, allocations: 192.5 kB / 493.9 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.4436, allocations: 36.36 kB / 494 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007508/0.4444, allocations: 386.9 kB / 494.3 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.4447, allocations: 0.7718 MB / 495.1 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.4448, allocations: 26.06 kB / 495.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/0.4449, allocations: 19.44 kB / 495.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4449, allocations: 0 / 495.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of Templates: time 0.006804/0.4517, allocations: 3.494 MB / 498.7 MB, free: 7.73 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches