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.0009876/0.0009876, allocations: 91.67 kB / 21.2 MB, free: 3.367 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.001056/0.001056, allocations: 156.5 kB / 24.56 MB, free: 12 kB / 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.02/1.02, allocations: 177 MB / 204.8 MB, free: 5.586 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.723e-06/1.723e-06, allocations: 0 / 273 MB, free: 1.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.752e-05/2.925e-05, allocations: 2.312 kB / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003973/0.004002, allocations: 2.987 MB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00443/0.008432, allocations: 0.7322 MB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.008612, allocations: 7.938 kB / 276.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.008784, allocations: 63.38 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.00902, allocations: 127 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.009246, allocations: 83.88 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000397/0.009643, allocations: 425.9 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.009852, allocations: 91.84 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003244/0.0131, allocations: 227.4 kB / 277.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.01331, allocations: 135.5 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.504e-05/0.01337, allocations: 32 kB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.857e-05/0.01341, allocations: 36 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.171e-05/0.01348, allocations: 79.66 kB / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.0136, allocations: 127.7 kB / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.01393, allocations: 255 kB / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.01393, allocations: 0 / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.01393, allocations: 0 / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.01394, allocations: 0 / 278.3 MB, free: 12 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.0008379/0.01478, allocations: 0.6713 MB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.01482, allocations: 11.98 kB / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.01493, allocations: 64.7 kB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.01528, allocations: 244 kB / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.01531, allocations: 25.03 kB / 279.3 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.01536, allocations: 40.31 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004064/0.01577, allocations: 355.1 kB / 279.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.01578, allocations: 192 / 279.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.01581, allocations: 12.38 kB / 279.7 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.01582, allocations: 11.94 kB / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.01704, allocations: 135.8 kB / 279.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.01829, allocations: 0.984 MB / 280.9 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.01867, allocations: 207.2 kB / 281.1 MB, free: 9.082 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.0189, allocations: 143.2 kB / 281.2 MB, free: 8.941 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.01893, allocations: 8 kB / 281.2 MB, free: 8.934 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.01896, allocations: 33.39 kB / 281.3 MB, free: 8.891 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 2.114e-06/0.01896, allocations: 4 kB / 281.3 MB, free: 8.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.00068/0.01964, allocations: 321 kB / 281.6 MB, free: 8.559 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.01968, allocations: 59.34 kB / 281.6 MB, free: 8.488 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.01988, allocations: 312.1 kB / 281.9 MB, free: 8.168 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.0199, allocations: 33.7 kB / 282 MB, free: 8.129 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.02001, allocations: 258.9 kB / 282.2 MB, free: 7.871 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.02006, allocations: 91.23 kB / 282.3 MB, free: 7.781 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.02013, allocations: 71.34 kB / 282.4 MB, free: 7.703 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.02026, allocations: 0.504 MB / 282.9 MB, free: 7.188 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.937e-05/0.02033, allocations: 47.97 kB / 282.9 MB, free: 7.141 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.02047, allocations: 167.9 kB / 283.1 MB, free: 6.922 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.02068, allocations: 251.6 kB / 283.3 MB, free: 6.621 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.02069, allocations: 0 / 283.3 MB, free: 6.621 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004248/0.02111, allocations: 332.4 kB / 283.7 MB, free: 6.281 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.02113, allocations: 7.125 kB / 283.7 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.02114, allocations: 4 kB / 283.7 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003205/0.02146, allocations: 107.6 kB / 283.8 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.0216, allocations: 67.84 kB / 283.8 MB, free: 6.094 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/0.02347, allocations: 3.612 MB / 287.5 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.0236, allocations: 35.72 kB / 287.5 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.02361, allocations: 16 kB / 287.5 MB, free: 2.176 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.0002689/0.02388, allocations: 188.4 kB / 287.7 MB, free: 1.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.985e-05/0.02392, allocations: 43.88 kB / 287.7 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.02395, allocations: 30.28 kB / 287.8 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.02396, allocations: 7.984 kB / 287.8 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.02396, allocations: 0 / 287.8 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.02396, allocations: 3.938 kB / 287.8 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006368/0.0246, allocations: 0.6099 MB / 288.4 MB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.0246, allocations: 0 / 288.4 MB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.02472, allocations: 47.94 kB / 288.4 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002548/0.02498, allocations: 95.3 kB / 288.5 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.02499, allocations: 7.984 kB / 288.5 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/0.02714, allocations: 3.608 MB / 292.1 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.02714, allocations: 4 kB / 292.1 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/0.02758, allocations: 433.1 kB / 292.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.102e-05/0.02762, allocations: 39.77 kB / 292.6 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.02764, allocations: 4 kB / 292.6 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.706e-05/0.02773, allocations: 23.92 kB / 292.6 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.2e-05/0.02781, allocations: 31.89 kB / 292.7 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.02782, allocations: 4 kB / 292.7 MB, free: 12.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.02794, allocations: 205.1 kB / 292.9 MB, free: 12.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02794, allocations: 0 / 292.9 MB, free: 12.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003585/0.0283, allocations: 95.89 kB / 293 MB, free: 12.35 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 0.0001549/0.02845, allocations: 119.3 kB / 293.1 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004692/0.02892, allocations: 0.5078 MB / 293.6 MB, free: 11.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.02892, allocations: 4.688 kB / 293.6 MB, free: 11.68 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.02916, allocations: 435.2 kB / 294 MB, free: 11.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.02946, allocations: 49.09 kB / 294.1 MB, free: 11.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.03059, allocations: 0.6075 MB / 294.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.045e-05/0.03066, allocations: 92.62 kB / 294.8 MB, free: 10.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.764e-05/0.03076, allocations: 30.97 kB / 294.8 MB, free: 10.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.03082, allocations: 28.5 kB / 294.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of SimCode: time 1.753e-06/0.03082, allocations: 0 / 294.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of Templates: time 0.006881/0.0377, allocations: 3.941 MB / 298.8 MB, free: 6.465 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.0167293432168663]