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.0009718/0.0009718, allocations: 85.91 kB / 22.21 MB, free: 2.289 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.001005/0.001005, allocations: 164.6 kB / 25.61 MB, free: 8.887 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 0.9823/0.9823, allocations: 177 MB / 205.9 MB, free: 4.422 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.082e-06/1.082e-06, allocations: 0 / 274.2 MB, free: 4.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.42e-05, allocations: 4.188 kB / 274.2 MB, free: 4.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.002816/0.002831, allocations: 2.956 MB / 277.1 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009056/0.003736, allocations: 0.7338 MB / 277.9 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.003847, allocations: 7.938 kB / 277.9 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.003955, allocations: 63.36 kB / 277.9 MB, free: 476 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004614/0.004417, allocations: 127 kB / 278 MB, free: 348 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.004659, allocations: 83.88 kB / 278.1 MB, free: 264 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004423/0.005101, allocations: 430 kB / 278.6 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.005314, allocations: 91.84 kB / 278.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002549/0.005569, allocations: 223.4 kB / 278.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.005734, allocations: 131.6 kB / 279 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.028e-05/0.005775, allocations: 36 kB / 279 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.782e-05/0.005812, allocations: 36 kB / 279.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.005862, allocations: 83.61 kB / 279.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.005971, allocations: 127.7 kB / 279.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.006255, allocations: 251 kB / 279.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/0.006263, allocations: 0 / 279.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.006264, allocations: 0 / 279.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.006272, allocations: 0 / 279.5 MB, free: 14.87 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.0006999/0.006972, allocations: 0.6712 MB / 280.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.007007, allocations: 8.031 kB / 280.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.468e-05/0.007101, allocations: 68.7 kB / 280.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.007394, allocations: 244 kB / 280.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.007416, allocations: 25.03 kB / 280.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.00746, allocations: 32.38 kB / 280.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.00775, allocations: 327.1 kB / 280.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.00776, allocations: 192 / 280.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.007783, allocations: 16.36 kB / 280.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.007792, allocations: 11.94 kB / 280.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.007926, allocations: 108.5 kB / 281 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.009072, allocations: 0.9377 MB / 281.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/0.009356, allocations: 189.5 kB / 282.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.00953, allocations: 131.1 kB / 282.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.009551, allocations: 8 kB / 282.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.009582, allocations: 45.39 kB / 282.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.854e-06/0.009583, allocations: 0 / 282.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0005808/0.01016, allocations: 306.7 kB / 282.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.01019, allocations: 55.41 kB / 282.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.01036, allocations: 296.1 kB / 282.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.01038, allocations: 33.64 kB / 283 MB, free: 11.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.01048, allocations: 266.9 kB / 283.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/0.01053, allocations: 87.2 kB / 283.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.856e-05/0.0106, allocations: 79.31 kB / 283.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.01072, allocations: 0.504 MB / 283.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.455e-05/0.01078, allocations: 35.97 kB / 283.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.01089, allocations: 163.7 kB / 284.1 MB, free: 9.977 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.01105, allocations: 235.6 kB / 284.3 MB, free: 9.691 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01106, allocations: 4 kB / 284.3 MB, free: 9.688 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003502/0.01141, allocations: 300.4 kB / 284.6 MB, free: 9.379 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.01142, allocations: 12.36 kB / 284.6 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.01143, allocations: 4 kB / 284.6 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00027/0.0117, allocations: 95.28 kB / 284.7 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.01185, allocations: 71.83 kB / 284.8 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/0.01356, allocations: 3.558 MB / 288.4 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.01369, allocations: 39.72 kB / 288.4 MB, free: 5.355 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.0137, allocations: 12 kB / 288.4 MB, free: 5.344 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.0001189/0.01382, allocations: 188.4 kB / 288.6 MB, free: 5.148 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/0.01386, allocations: 31.86 kB / 288.6 MB, free: 5.117 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/0.0139, allocations: 38.27 kB / 288.7 MB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-06/0.0139, allocations: 4 kB / 288.7 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.01391, allocations: 0 / 288.7 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.01391, allocations: 0 / 288.7 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006004/0.01451, allocations: 0.5683 MB / 289.2 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01451, allocations: 0 / 289.2 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.01462, allocations: 43.91 kB / 289.3 MB, free: 4.418 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002301/0.01485, allocations: 95.27 kB / 289.4 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.01486, allocations: 8 kB / 289.4 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.01643, allocations: 3.555 MB / 292.9 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.01643, allocations: 7.875 kB / 293 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003708/0.0168, allocations: 421.8 kB / 293.4 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/0.01683, allocations: 27.81 kB / 293.4 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.01685, allocations: 0 / 293.4 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.01695, allocations: 23.98 kB / 293.4 MB, free: 8 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.01702, allocations: 24.02 kB / 293.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.01704, allocations: 7.938 kB / 293.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.891e-05/0.01713, allocations: 197.1 kB / 293.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01713, allocations: 4 kB / 293.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003221/0.01746, allocations: 95.83 kB / 293.7 MB, free: 15.69 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.0001173/0.01757, allocations: 111.2 kB / 293.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004117/0.01799, allocations: 0.4922 MB / 294.3 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.01799, allocations: 8.062 kB / 294.3 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.01822, allocations: 431.1 kB / 294.8 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.01854, allocations: 56.39 kB / 294.8 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009778/0.01952, allocations: 0.596 MB / 295.4 MB, free: 13.89 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.102e-05/0.01958, allocations: 96.48 kB / 295.5 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.244e-05/0.01967, allocations: 34.95 kB / 295.5 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.0198, allocations: 134.2 kB / 295.7 MB, free: 13.61 MB / 282.7 MB Notification: Performance of SimCode: time 8.91e-07/0.0198, allocations: 0 / 295.7 MB, free: 13.61 MB / 282.7 MB Notification: Performance of Templates: time 0.00657/0.02637, allocations: 4.134 MB / 299.8 MB, free: 9.535 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.859128051903099]