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.001052/0.001052, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001323/0.001323, allocations: 170 kB / 24.82 MB, free: 9.254 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.021/1.021, allocations: 177 MB / 205.1 MB, free: 5.473 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.533e-06/1.533e-06, allocations: 0 / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.138e-05, allocations: 5.125 kB / 273.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.006548/0.006569, allocations: 2.946 MB / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.007723, allocations: 0.7244 MB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.00788, allocations: 7.938 kB / 277.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004265/0.008306, allocations: 67.36 kB / 277.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.008511, allocations: 115 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.00872, allocations: 99.84 kB / 277.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003827/0.009103, allocations: 422 kB / 277.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.0093, allocations: 91.84 kB / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.009518, allocations: 231.4 kB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.009699, allocations: 131.5 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.316e-05/0.009742, allocations: 32 kB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.754e-05/0.009779, allocations: 36 kB / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.667e-05/0.009826, allocations: 79.67 kB / 278.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.091e-05/0.009907, allocations: 123.7 kB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.01014, allocations: 259 kB / 278.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.01014, allocations: 4 kB / 278.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01014, allocations: 0 / 278.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.01014, allocations: 0 / 278.7 MB, free: 11.81 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.0006548/0.0108, allocations: 0.6673 MB / 279.4 MB, free: 11.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.01084, allocations: 15.98 kB / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.749e-05/0.01092, allocations: 68.7 kB / 279.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.01116, allocations: 240 kB / 279.7 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.01118, allocations: 25.03 kB / 279.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.01122, allocations: 36.31 kB / 279.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.01147, allocations: 327.1 kB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.01148, allocations: 192 / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.0115, allocations: 16.38 kB / 280.1 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.01151, allocations: 11.94 kB / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.01162, allocations: 104.5 kB / 280.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009936/0.01262, allocations: 0.9416 MB / 281.2 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.01289, allocations: 191.1 kB / 281.3 MB, free: 9.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.01305, allocations: 131.6 kB / 281.5 MB, free: 8.887 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.01307, allocations: 4 kB / 281.5 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.0131, allocations: 45.33 kB / 281.5 MB, free: 8.828 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.463e-06/0.0131, allocations: 0 / 281.5 MB, free: 8.828 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004968/0.0136, allocations: 305 kB / 281.8 MB, free: 8.516 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.01362, allocations: 59.34 kB / 281.9 MB, free: 8.445 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.01378, allocations: 296.1 kB / 282.2 MB, free: 8.141 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.0138, allocations: 29.7 kB / 282.2 MB, free: 8.105 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.01391, allocations: 270.9 kB / 282.5 MB, free: 7.836 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.01395, allocations: 83.22 kB / 282.5 MB, free: 7.754 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/0.01402, allocations: 79.31 kB / 282.6 MB, free: 7.668 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.01416, allocations: 0.504 MB / 283.1 MB, free: 7.152 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.235e-05/0.0142, allocations: 35.97 kB / 283.2 MB, free: 7.117 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.0143, allocations: 163.9 kB / 283.3 MB, free: 6.902 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.01447, allocations: 231.6 kB / 283.5 MB, free: 6.621 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.01447, allocations: 0 / 283.5 MB, free: 6.621 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003208/0.01479, allocations: 312.4 kB / 283.8 MB, free: 6.301 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.01481, allocations: 10.81 kB / 283.9 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.01481, allocations: 0 / 283.9 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002691/0.01508, allocations: 103.5 kB / 284 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.01521, allocations: 67.91 kB / 284 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.01697, allocations: 3.562 MB / 287.6 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.01707, allocations: 35.77 kB / 287.6 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.01709, allocations: 12 kB / 287.6 MB, free: 2.27 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 9.707e-05/0.01718, allocations: 184.3 kB / 287.8 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.01722, allocations: 40 kB / 287.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.01725, allocations: 30.27 kB / 287.9 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.01725, allocations: 12.02 kB / 287.9 MB, free: 1.996 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.01725, allocations: 0 / 287.9 MB, free: 1.996 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.01726, allocations: 0 / 287.9 MB, free: 1.996 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005151/0.01777, allocations: 0.5597 MB / 288.4 MB, free: 1.387 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.01777, allocations: 4 kB / 288.5 MB, free: 1.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.01788, allocations: 43.91 kB / 288.5 MB, free: 1.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002052/0.01808, allocations: 103.2 kB / 288.6 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.01809, allocations: 4 kB / 288.6 MB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.01971, allocations: 3.554 MB / 292.2 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01971, allocations: 3.938 kB / 292.2 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.02004, allocations: 417 kB / 292.6 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.02006, allocations: 23.81 kB / 292.6 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.02008, allocations: 12.08 kB / 292.6 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.192e-05/0.02017, allocations: 23.98 kB / 292.6 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.02021, allocations: 19.97 kB / 292.6 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.02022, allocations: 11.98 kB / 292.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.717e-05/0.0203, allocations: 197.1 kB / 292.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.0203, allocations: 0 / 292.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002411/0.02054, allocations: 95.83 kB / 292.9 MB, free: 12.61 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.183e-05/0.02063, allocations: 111.2 kB / 293.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003322/0.02096, allocations: 0.496 MB / 293.5 MB, free: 11.96 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.02097, allocations: 0 / 293.5 MB, free: 11.96 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.02115, allocations: 427.9 kB / 294 MB, free: 11.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.0214, allocations: 60.39 kB / 294 MB, free: 11.45 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008201/0.02222, allocations: 0.6071 MB / 294.6 MB, free: 10.81 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.894e-05/0.02227, allocations: 96.61 kB / 294.7 MB, free: 10.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.572e-05/0.02233, allocations: 26.97 kB / 294.8 MB, free: 10.67 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.02245, allocations: 130.2 kB / 294.9 MB, free: 10.54 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02245, allocations: 0 / 294.9 MB, free: 10.54 MB / 282.7 MB Notification: Performance of Templates: time 0.005994/0.02845, allocations: 4.035 MB / 298.9 MB, free: 6.547 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: 2.942685490939766]