Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001219/0.001219, allocations: 83.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009139/0.0009139, allocations: 162.4 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.003/1.003, allocations: 177 MB / 205.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.818e-05, allocations: 2.312 kB / 273.1 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.002773/0.002791, allocations: 2.977 MB / 276 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009413/0.003733, allocations: 0.7283 MB / 276.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.003855, allocations: 7.938 kB / 276.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.004002, allocations: 63.42 kB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.004166, allocations: 119 kB / 276.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.004338, allocations: 95.78 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003075/0.004645, allocations: 426 kB / 277.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.004817, allocations: 91.84 kB / 277.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.00499, allocations: 227.5 kB / 277.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.005154, allocations: 127.6 kB / 277.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.712e-05/0.005201, allocations: 32 kB / 277.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.853e-05/0.005239, allocations: 36 kB / 278 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.494e-05/0.005294, allocations: 83.67 kB / 278 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.005397, allocations: 127.6 kB / 278.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.005663, allocations: 251 kB / 278.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.005666, allocations: 0 / 278.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005666, allocations: 0 / 278.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.005672, allocations: 3.938 kB / 278.4 MB, free: 12.32 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.000711/0.006383, allocations: 0.6713 MB / 279.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.006422, allocations: 11.98 kB / 279.1 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.225e-05/0.006514, allocations: 64.7 kB / 279.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.006778, allocations: 244 kB / 279.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.006797, allocations: 25.03 kB / 279.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.006839, allocations: 40.38 kB / 279.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.007152, allocations: 351.1 kB / 279.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.007162, allocations: 4.172 kB / 279.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.007186, allocations: 12.38 kB / 279.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.007197, allocations: 11.88 kB / 279.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.007388, allocations: 143.8 kB / 280 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.008542, allocations: 0.9762 MB / 280.9 MB, free: 9.625 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/0.008895, allocations: 219.1 kB / 281.2 MB, free: 9.398 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.009106, allocations: 131.6 kB / 281.3 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.009131, allocations: 8 kB / 281.3 MB, free: 9.258 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.009154, allocations: 41.39 kB / 281.3 MB, free: 9.207 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.393e-06/0.009156, allocations: 0 / 281.3 MB, free: 9.207 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0005867/0.009742, allocations: 325 kB / 281.7 MB, free: 8.875 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.009768, allocations: 55.41 kB / 281.7 MB, free: 8.809 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.009958, allocations: 300.2 kB / 282 MB, free: 8.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.009977, allocations: 37.69 kB / 282 MB, free: 8.457 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.01008, allocations: 258.9 kB / 282.3 MB, free: 8.199 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.01013, allocations: 91.22 kB / 282.4 MB, free: 8.109 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-05/0.01019, allocations: 67.36 kB / 282.4 MB, free: 8.035 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.01032, allocations: 0.504 MB / 282.9 MB, free: 7.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.085e-05/0.01039, allocations: 47.97 kB / 283 MB, free: 7.473 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.01051, allocations: 175.8 kB / 283.2 MB, free: 7.246 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.01073, allocations: 247.7 kB / 283.4 MB, free: 6.949 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.01073, allocations: 3.938 kB / 283.4 MB, free: 6.945 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003842/0.01112, allocations: 332.4 kB / 283.7 MB, free: 6.605 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.01113, allocations: 7.125 kB / 283.7 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.01114, allocations: 4 kB / 283.7 MB, free: 6.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003113/0.01145, allocations: 99.66 kB / 283.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.01159, allocations: 67.84 kB / 283.9 MB, free: 6.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.01325, allocations: 3.624 MB / 287.5 MB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.01335, allocations: 35.72 kB / 287.6 MB, free: 2.512 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.01337, allocations: 19.94 kB / 287.6 MB, free: 2.492 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (opAmp2.satNeg,opAmp2.satPos,opAmp1.satNeg,opAmp1.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.01347, allocations: 180.5 kB / 287.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.01351, allocations: 35.81 kB / 287.8 MB, free: 2.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.01354, allocations: 38.27 kB / 287.8 MB, free: 2.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.01354, allocations: 4 kB / 287.8 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.01354, allocations: 0 / 287.8 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.01355, allocations: 7.922 kB / 287.9 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000635/0.01418, allocations: 0.6137 MB / 288.5 MB, free: 1.547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.01419, allocations: 4.031 kB / 288.5 MB, free: 1.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.0143, allocations: 43.92 kB / 288.5 MB, free: 1.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002243/0.01453, allocations: 95.28 kB / 288.6 MB, free: 1.398 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.01454, allocations: 8 kB / 288.6 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/0.01604, allocations: 3.6 MB / 292.2 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.01605, allocations: 4 kB / 292.2 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.01642, allocations: 445.1 kB / 292.7 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.403e-05/0.01645, allocations: 27.8 kB / 292.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.01647, allocations: 4.188 kB / 292.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.01657, allocations: 27.92 kB / 292.7 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.01662, allocations: 31.88 kB / 292.7 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.01663, allocations: 4 kB / 292.7 MB, free: 12.97 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001121/0.01674, allocations: 205.1 kB / 292.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01675, allocations: 4.031 kB / 292.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002595/0.017, allocations: 99.83 kB / 293 MB, free: 12.67 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (opAmp1.v_int,c.v) * Number of discrete variables: 4 (opAmp1.satPos,opAmp1.satNeg,opAmp2.satPos,opAmp2.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 9.871e-05/0.0171, allocations: 107.2 kB / 293.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004215/0.01752, allocations: 0.5122 MB / 293.7 MB, free: 12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01753, allocations: 192 / 293.7 MB, free: 12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.01774, allocations: 435.2 kB / 294.1 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.01801, allocations: 51.98 kB / 294.1 MB, free: 11.49 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009443/0.01895, allocations: 0.6115 MB / 294.7 MB, free: 10.85 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.184e-05/0.01902, allocations: 96.61 kB / 294.8 MB, free: 10.73 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.356e-05/0.01909, allocations: 30.97 kB / 294.9 MB, free: 10.7 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.712e-05/0.01914, allocations: 28.44 kB / 294.9 MB, free: 10.68 MB / 282.7 MB Notification: Performance of SimCode: time 9.21e-07/0.01914, allocations: 0 / 294.9 MB, free: 10.68 MB / 282.7 MB Notification: Performance of Templates: time 0.005502/0.02464, allocations: 3.777 MB / 298.7 MB, free: 6.945 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0659755452070385]