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.001028/0.001028, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009786/0.0009786, allocations: 160.5 kB / 24.55 MB, free: 20 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 0.9738/0.9738, 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.553e-06/1.553e-06, allocations: 0 / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.482e-05, allocations: 2.312 kB / 273 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003424/0.003449, allocations: 2.991 MB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.004599, allocations: 0.7244 MB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.004774, allocations: 15.88 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.004929, allocations: 59.42 kB / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.005115, allocations: 119 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.00532, allocations: 95.84 kB / 277 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003473/0.005667, allocations: 429.9 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.005851, allocations: 87.84 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.00605, allocations: 227.5 kB / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.006204, allocations: 131.5 kB / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.399e-05/0.006248, allocations: 36 kB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.107e-05/0.006289, allocations: 32 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.86e-05/0.006357, allocations: 83.66 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.0065, allocations: 123.7 kB / 278.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.006797, allocations: 255 kB / 278.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.006799, allocations: 4 kB / 278.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.0068, allocations: 0 / 278.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.006805, allocations: 0 / 278.3 MB, free: 11.99 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.0009267/0.007732, allocations: 0.6673 MB / 279 MB, free: 11.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.007766, allocations: 19.98 kB / 279 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.063e-05/0.007856, allocations: 64.7 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.008132, allocations: 240 kB / 279.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.008151, allocations: 25.03 kB / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.77e-05/0.008199, allocations: 36.38 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.008519, allocations: 351.1 kB / 279.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.008529, allocations: 192 / 279.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.008552, allocations: 16.38 kB / 279.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.008564, allocations: 11.94 kB / 279.8 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.008759, allocations: 135.8 kB / 279.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.009901, allocations: 0.984 MB / 280.9 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.01024, allocations: 210.7 kB / 281.1 MB, free: 9.078 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.01045, allocations: 143.5 kB / 281.2 MB, free: 8.934 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.01048, allocations: 4 kB / 281.2 MB, free: 8.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.0105, allocations: 37.39 kB / 281.3 MB, free: 8.883 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.663e-06/0.0105, allocations: 0 / 281.3 MB, free: 8.883 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0005959/0.0111, allocations: 329 kB / 281.6 MB, free: 8.547 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.01112, allocations: 55.41 kB / 281.6 MB, free: 8.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.01131, allocations: 304.1 kB / 281.9 MB, free: 8.168 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.01132, allocations: 33.69 kB / 282 MB, free: 8.129 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.921e-05/0.01142, allocations: 262.9 kB / 282.2 MB, free: 7.867 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.004e-05/0.01147, allocations: 95.22 kB / 282.3 MB, free: 7.773 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.711e-05/0.01154, allocations: 67.36 kB / 282.4 MB, free: 7.699 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.01165, allocations: 0.5001 MB / 282.9 MB, free: 7.188 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.134e-05/0.01172, allocations: 47.97 kB / 282.9 MB, free: 7.141 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.01186, allocations: 179.8 kB / 283.1 MB, free: 6.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.01208, allocations: 243.7 kB / 283.3 MB, free: 6.617 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.01208, allocations: 4 kB / 283.3 MB, free: 6.613 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003847/0.01247, allocations: 328.4 kB / 283.7 MB, free: 6.277 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.01248, allocations: 10.81 kB / 283.7 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.01249, allocations: 4 kB / 283.7 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003116/0.0128, allocations: 99.62 kB / 283.8 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.01294, allocations: 67.84 kB / 283.8 MB, free: 6.094 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/0.01491, allocations: 3.624 MB / 287.5 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.01503, allocations: 35.72 kB / 287.5 MB, free: 2.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.01505, allocations: 16 kB / 287.5 MB, free: 2.164 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.0001079/0.01515, allocations: 176.5 kB / 287.7 MB, free: 1.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.01519, allocations: 35.81 kB / 287.7 MB, free: 1.945 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.01523, allocations: 38.27 kB / 287.8 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01523, allocations: 4.031 kB / 287.8 MB, free: 1.902 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.01523, allocations: 0 / 287.8 MB, free: 1.902 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.01524, allocations: 11.92 kB / 287.8 MB, free: 1.891 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006072/0.01585, allocations: 0.6137 MB / 288.4 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.01585, allocations: 0 / 288.4 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.01595, allocations: 31.98 kB / 288.4 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000223/0.01617, allocations: 111.4 kB / 288.5 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.01619, allocations: 8 kB / 288.5 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/0.01777, allocations: 3.604 MB / 292.1 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01777, allocations: 0 / 292.1 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.01815, allocations: 437.1 kB / 292.6 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.01818, allocations: 35.73 kB / 292.6 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.01819, allocations: 12.09 kB / 292.6 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.64e-05/0.01829, allocations: 23.92 kB / 292.6 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.01835, allocations: 27.89 kB / 292.7 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.01836, allocations: 8 kB / 292.7 MB, free: 12.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001126/0.01847, allocations: 205.1 kB / 292.9 MB, free: 12.44 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01847, allocations: 0 / 292.9 MB, free: 12.44 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003178/0.01879, allocations: 99.83 kB / 293 MB, free: 12.34 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.0004191/0.01921, allocations: 107.2 kB / 293.1 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004772/0.01969, allocations: 0.5116 MB / 293.6 MB, free: 11.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01969, allocations: 0 / 293.6 MB, free: 11.68 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.01991, allocations: 432 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.0002966/0.02021, allocations: 53.31 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.001077/0.02129, allocations: 0.6153 MB / 294.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.122e-05/0.02135, allocations: 92.61 kB / 294.8 MB, free: 10.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.811e-05/0.02143, 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.046e-05/0.02148, allocations: 28.5 kB / 294.8 MB, free: 10.35 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02148, allocations: 0 / 294.8 MB, free: 10.35 MB / 282.7 MB Notification: Performance of Templates: time 0.006028/0.02751, allocations: 3.776 MB / 298.6 MB, free: 6.621 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.1097532771527767]