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.000847/0.000847, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.003212/0.003212, allocations: 157.9 kB / 24.7 MB, free: 9.414 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.8457/0.8457, allocations: 177 MB / 204.8 MB, free: 5.727 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.402e-06/1.402e-06, allocations: 0 / 325.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.064e-05/3.204e-05, allocations: 3.125 kB / 325.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.002826/0.002858, allocations: 2.77 MB / 328.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009305/0.003789, allocations: 0.7204 MB / 329.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.003918, allocations: 11.94 kB / 329.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.004051, allocations: 51.44 kB / 329.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.004207, allocations: 126.9 kB / 329.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.004367, allocations: 91.86 kB / 329.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.004653, allocations: 433.7 kB / 330 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.004825, allocations: 83.84 kB / 330.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.004997, allocations: 235.4 kB / 330.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.005129, allocations: 119.6 kB / 330.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.27e-05/0.005171, allocations: 36 kB / 330.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.899e-05/0.0052, allocations: 32 kB / 330.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.621e-05/0.005246, allocations: 83.66 kB / 330.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.624e-05/0.005323, allocations: 131.6 kB / 330.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002864/0.005609, allocations: 390.7 kB / 331.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.005612, allocations: 0 / 331.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.005615, allocations: 8 kB / 331.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.005619, allocations: 0 / 331.1 MB, free: 10.01 MB / 298.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.000637/0.006256, allocations: 0.5558 MB / 331.7 MB, free: 9.422 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.006292, allocations: 15.98 kB / 331.7 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.889e-05/0.006351, allocations: 44.7 kB / 331.7 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.006668, allocations: 244.6 kB / 332 MB, free: 9.098 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.006688, allocations: 25.03 kB / 332 MB, free: 9.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.006725, allocations: 32.38 kB / 332 MB, free: 9.039 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.007089, allocations: 423.1 kB / 332.4 MB, free: 8.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.007099, allocations: 192 / 332.4 MB, free: 8.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.007122, allocations: 16.38 kB / 332.5 MB, free: 8.574 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.007131, allocations: 19.94 kB / 332.5 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.007378, allocations: 234.5 kB / 332.7 MB, free: 8.328 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.008467, allocations: 0.9536 MB / 333.7 MB, free: 7.316 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.008824, allocations: 227.6 kB / 333.9 MB, free: 7.086 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.00904, allocations: 152.8 kB / 334 MB, free: 6.934 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.009063, allocations: 7.938 kB / 334 MB, free: 6.926 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.009083, allocations: 34.56 kB / 334.1 MB, free: 6.883 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/0.009085, allocations: 0 / 334.1 MB, free: 6.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006771/0.009762, allocations: 399.3 kB / 334.5 MB, free: 6.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.009791, allocations: 55.41 kB / 334.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.009969, allocations: 261.8 kB / 334.8 MB, free: 6.148 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.009985, allocations: 29.7 kB / 334.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.9e-05/0.01007, allocations: 216.2 kB / 335 MB, free: 5.895 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/0.01037, allocations: 87.27 kB / 335.1 MB, free: 5.809 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-05/0.01044, allocations: 73.59 kB / 335.2 MB, free: 5.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.031e-05/0.01052, allocations: 334.8 kB / 335.5 MB, free: 5.395 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.524e-05/0.0106, allocations: 75.97 kB / 335.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.01072, allocations: 163.1 kB / 335.7 MB, free: 5.121 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.01094, allocations: 262.9 kB / 336 MB, free: 4.824 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01095, allocations: 0 / 336 MB, free: 4.824 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004123/0.01136, allocations: 382.7 kB / 336.4 MB, free: 4.438 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.01137, allocations: 8 kB / 336.4 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01138, allocations: 0 / 336.4 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002281/0.01161, allocations: 86.02 kB / 336.4 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.01175, allocations: 71.84 kB / 336.5 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/0.01333, allocations: 2.726 MB / 339.2 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.01344, allocations: 39.67 kB / 339.3 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.01346, allocations: 16 kB / 339.3 MB, free: 1.273 MB / 298.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.0001169/0.01357, allocations: 157.8 kB / 339.5 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.0136, allocations: 23.86 kB / 339.5 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.01363, allocations: 38.27 kB / 339.5 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01364, allocations: 0 / 339.5 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.01364, allocations: 4 kB / 339.5 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.01365, allocations: 7.922 kB / 339.5 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006605/0.01431, allocations: 0.6266 MB / 340.2 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01431, allocations: 0 / 340.2 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.01441, allocations: 39.97 kB / 340.2 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001576/0.01457, allocations: 81.58 kB / 340.3 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.01458, allocations: 8 kB / 340.3 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/0.01619, allocations: 2.719 MB / 343 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01619, allocations: 0 / 343 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/0.0166, allocations: 455.1 kB / 343.4 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/0.01663, allocations: 35.81 kB / 343.5 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.01665, allocations: 4 kB / 343.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.01675, allocations: 28.05 kB / 343.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.01681, allocations: 27.95 kB / 343.5 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.01682, allocations: 12 kB / 343.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001055/0.01692, allocations: 177.2 kB / 343.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01692, allocations: 0 / 343.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002817/0.01721, allocations: 107.8 kB / 343.8 MB, free: 12.45 MB / 314.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.0001147/0.01732, allocations: 103.2 kB / 343.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004212/0.01774, allocations: 441 kB / 344.4 MB, free: 11.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.01774, allocations: 4 kB / 344.4 MB, free: 11.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.01794, allocations: 321.3 kB / 344.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.01821, allocations: 39.55 kB / 344.7 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008107/0.01902, allocations: 0.6422 MB / 345.4 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.744e-05/0.01912, allocations: 173.1 kB / 345.5 MB, free: 10.63 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.977e-05/0.01917, allocations: 24.5 kB / 345.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01917, allocations: 0 / 345.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of Templates: time 0.005374/0.02454, allocations: 6.074 MB / 351.6 MB, free: 4.527 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8269652761518955]