Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008772/0.0008772, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004209/0.004209, allocations: 163.3 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.875/0.875, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 325.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.158e-05, allocations: 6.281 kB / 325.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003481/0.003502, allocations: 2.73 MB / 328.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008389/0.004341, allocations: 0.7477 MB / 329.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.004444, allocations: 11.94 kB / 329.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.004547, allocations: 63.42 kB / 329.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.004673, allocations: 107 kB / 329.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.004849, allocations: 123.8 kB / 329.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.005107, allocations: 421.9 kB / 330.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.005248, allocations: 91.83 kB / 330.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.005397, allocations: 227.4 kB / 330.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.005505, allocations: 123.7 kB / 330.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.005544, allocations: 35.98 kB / 330.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.778e-05/0.005572, allocations: 35.94 kB / 330.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.005615, allocations: 71.73 kB / 330.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.206e-05/0.005687, allocations: 123.7 kB / 330.8 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.005947, allocations: 382.7 kB / 331.1 MB, free: 10.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.005949, allocations: 0 / 331.1 MB, free: 10.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.00595, allocations: 3.938 kB / 331.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.005954, allocations: 0 / 331.1 MB, free: 10.09 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.000604/0.006558, allocations: 0.563 MB / 331.7 MB, free: 9.504 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.508e-05/0.006583, allocations: 8.031 kB / 331.7 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.00663, allocations: 40.7 kB / 331.8 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.006877, allocations: 237.7 kB / 332 MB, free: 9.199 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.006895, allocations: 21.03 kB / 332 MB, free: 9.176 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.006926, allocations: 32.38 kB / 332 MB, free: 9.145 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003955/0.007321, allocations: 422.7 kB / 332.5 MB, free: 8.703 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.007331, allocations: 4.188 kB / 332.5 MB, free: 8.699 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.00735, allocations: 12.38 kB / 332.5 MB, free: 8.688 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.007357, allocations: 15.88 kB / 332.5 MB, free: 8.672 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000351/0.007708, allocations: 278.5 kB / 332.8 MB, free: 8.398 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.008713, allocations: 1.008 MB / 333.8 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/0.009175, allocations: 290.6 kB / 334 MB, free: 7.039 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/0.009423, allocations: 164.7 kB / 334.2 MB, free: 6.875 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.009438, allocations: 3.984 kB / 334.2 MB, free: 6.871 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.009455, allocations: 34.56 kB / 334.2 MB, free: 6.828 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.082e-06/0.009456, allocations: 4 kB / 334.3 MB, free: 6.824 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.001205/0.01066, allocations: 0.6938 MB / 334.9 MB, free: 6.117 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.01069, allocations: 55.41 kB / 335 MB, free: 6.051 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.01085, allocations: 253.8 kB / 335.2 MB, free: 5.793 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.01087, allocations: 33.7 kB / 335.3 MB, free: 5.754 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.209e-05/0.01095, allocations: 204.3 kB / 335.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.01099, allocations: 79.25 kB / 335.6 MB, free: 5.469 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.01119, allocations: 53.7 kB / 335.6 MB, free: 5.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.756e-05/0.01127, allocations: 342.8 kB / 335.9 MB, free: 5.066 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.0114, allocations: 104.8 kB / 336 MB, free: 4.961 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.01157, allocations: 192.6 kB / 336.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/0.01191, allocations: 303.2 kB / 336.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01191, allocations: 3.938 kB / 336.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006917/0.0126, allocations: 0.5222 MB / 337.1 MB, free: 3.855 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.01262, allocations: 8 kB / 337.1 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.01262, allocations: 0 / 337.1 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003157/0.01294, allocations: 145.7 kB / 337.2 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.01304, allocations: 51.92 kB / 337.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002613/0.01565, allocations: 3.448 MB / 340.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.01577, allocations: 39.78 kB / 340.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.01578, allocations: 16 kB / 340.8 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001614/0.01594, allocations: 184 kB / 340.9 MB, free: 15.76 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000135/0.01608, allocations: 168 kB / 341.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002416/0.01632, allocations: 262.9 kB / 341.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.188e-06/0.01632, allocations: 4 kB / 341.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0004759/0.0168, allocations: 399 kB / 341.8 MB, free: 14.85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.715e-06/0.01681, allocations: 12.03 kB / 341.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.01681, allocations: 0 / 341.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001564/0.01697, allocations: 97.47 kB / 341.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.01707, allocations: 56.11 kB / 341.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/0.01879, allocations: 2.766 MB / 344.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.541e-05/0.01889, allocations: 35.98 kB / 344.7 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.0189, allocations: 12 kB / 344.7 MB, free: 11.66 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.158e-05/0.01899, allocations: 200.1 kB / 344.9 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.01902, allocations: 23.86 kB / 344.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.01905, allocations: 26.11 kB / 345 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01905, allocations: 7.938 kB / 345 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.01905, allocations: 0 / 345 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.01905, allocations: 0 / 345 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000842/0.0199, allocations: 0.7103 MB / 345.7 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.0199, allocations: 3.938 kB / 345.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.619e-05/0.01996, allocations: 27.98 kB / 345.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002177/0.02018, allocations: 137.5 kB / 345.9 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.02019, allocations: 8 kB / 345.9 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002135/0.02233, allocations: 3.147 MB / 349 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.02233, allocations: 3.938 kB / 349 MB, free: 7.113 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007333/0.02306, allocations: 0.6048 MB / 349.6 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.471e-05/0.02309, allocations: 27.81 kB / 349.6 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.0231, allocations: 4 kB / 349.7 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/0.0234, allocations: 27.97 kB / 349.7 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.02345, allocations: 20.16 kB / 349.7 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.02346, allocations: 12.06 kB / 349.7 MB, free: 6.398 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001101/0.02357, allocations: 185.1 kB / 349.9 MB, free: 6.219 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02357, allocations: 0 / 349.9 MB, free: 6.219 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003831/0.02395, allocations: 163.7 kB / 350.1 MB, free: 6.059 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001073/0.02406, allocations: 99.25 kB / 350.1 MB, free: 5.949 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008675/0.02492, allocations: 0.8807 MB / 351 MB, free: 5.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.02493, allocations: 4.062 kB / 351 MB, free: 5.016 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.02517, allocations: 349.2 kB / 351.4 MB, free: 4.648 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.02543, allocations: 42.64 kB / 351.4 MB, free: 4.613 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000711/0.02614, allocations: 0.598 MB / 352 MB, free: 3.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.796e-05/0.02624, allocations: 164.6 kB / 352.2 MB, free: 3.793 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.02628, allocations: 20.5 kB / 352.2 MB, free: 3.77 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02628, allocations: 0 / 352.2 MB, free: 3.77 MB / 314.7 MB Notification: Performance of Templates: time 0.004883/0.03116, allocations: 5.758 MB / 358 MB, free: 14.01 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.513534152880311]