Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007644/0.0007644, allocations: 84 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002937/0.002937, allocations: 146.9 kB / 24.68 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8179/0.8179, allocations: 173.4 MB / 201.2 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 319.7 MB, free: 5.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.561e-05/1.674e-05, allocations: 2.281 kB / 319.7 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.002483/0.0025, allocations: 2.706 MB / 322.4 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.003528, allocations: 0.7166 MB / 323.2 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.003663, allocations: 11.94 kB / 323.2 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.003792, allocations: 51.5 kB / 323.2 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.003961, allocations: 119 kB / 323.3 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.004369, allocations: 119.8 kB / 323.5 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.00467, allocations: 422.1 kB / 323.9 MB, free: 1.496 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.004845, allocations: 91.78 kB / 324 MB, free: 1.406 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.005032, allocations: 227.5 kB / 324.2 MB, free: 1.184 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.005151, allocations: 123.6 kB / 324.3 MB, free: 1.062 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.005191, allocations: 32 kB / 324.3 MB, free: 1.031 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.871e-05/0.00522, allocations: 32 kB / 324.4 MB, free: 1 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.062e-05/0.005261, allocations: 75.73 kB / 324.4 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.129e-05/0.005332, allocations: 123.7 kB / 324.6 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.005603, allocations: 382.7 kB / 324.9 MB, free: 440 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.005604, allocations: 0 / 324.9 MB, free: 440 kB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005605, allocations: 0 / 324.9 MB, free: 440 kB / 282.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.00561, allocations: 0 / 324.9 MB, free: 440 kB / 282.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.0006876/0.006297, allocations: 0.5677 MB / 325.5 MB, free: 15.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.006329, allocations: 8.031 kB / 325.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.737e-05/0.006386, allocations: 44.7 kB / 325.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.006656, allocations: 233 kB / 325.8 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.006673, allocations: 21.03 kB / 325.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/0.006708, allocations: 32.38 kB / 325.8 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004254/0.007133, allocations: 426.7 kB / 326.2 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.007143, allocations: 192 / 326.2 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.00717, allocations: 12.38 kB / 326.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.007178, allocations: 11.94 kB / 326.3 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003555/0.007534, allocations: 282.5 kB / 326.5 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.008829, allocations: 1.001 MB / 327.5 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/0.009308, allocations: 282.7 kB / 327.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.009558, allocations: 168.7 kB / 328 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.009577, allocations: 0 / 328 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.009597, allocations: 42.56 kB / 328 MB, free: 13.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 8.82e-07/0.009598, allocations: 0 / 328 MB, free: 13.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.001248/0.01085, allocations: 0.6992 MB / 328.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.01087, allocations: 59.39 kB / 328.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.01103, allocations: 249.8 kB / 329 MB, free: 12.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.01105, allocations: 33.7 kB / 329.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.192e-05/0.01113, allocations: 212.2 kB / 329.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.01117, allocations: 67.44 kB / 329.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.354e-05/0.01122, allocations: 57.66 kB / 329.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.578e-05/0.0113, allocations: 342.7 kB / 329.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.01144, allocations: 104.8 kB / 329.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.01161, allocations: 187.9 kB / 330 MB, free: 11.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.01192, allocations: 303.6 kB / 330.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01192, allocations: 0 / 330.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008959/0.01281, allocations: 0.5168 MB / 330.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.01283, allocations: 8 kB / 330.8 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01284, allocations: 0 / 330.8 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004589/0.0133, allocations: 145.7 kB / 331 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.01346, allocations: 59.84 kB / 331 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002975/0.01643, allocations: 3.429 MB / 334.5 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.01655, allocations: 51.72 kB / 334.5 MB, free: 6.305 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.01656, allocations: 12 kB / 334.5 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000162/0.01672, allocations: 187.9 kB / 334.7 MB, free: 6.105 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001349/0.01686, allocations: 172.4 kB / 334.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000239/0.0171, allocations: 270.9 kB / 335.1 MB, free: 5.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.407e-06/0.0171, allocations: 4 kB / 335.1 MB, free: 5.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0004581/0.01756, allocations: 399 kB / 335.5 MB, free: 5.184 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/0.01757, allocations: 8 kB / 335.5 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-06/0.01757, allocations: 3.938 kB / 335.5 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001487/0.01772, allocations: 89.58 kB / 335.6 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.01782, allocations: 68 kB / 335.7 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.01929, allocations: 2.774 MB / 338.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.177e-05/0.01938, allocations: 27.88 kB / 338.5 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.01939, allocations: 12 kB / 338.5 MB, free: 1.992 MB / 298.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 8.186e-05/0.01947, allocations: 196.2 kB / 338.7 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.0195, allocations: 27.81 kB / 338.7 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/0.01953, allocations: 26.11 kB / 338.8 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.01953, allocations: 11.88 kB / 338.8 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.01953, allocations: 3.938 kB / 338.8 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01953, allocations: 4.062 kB / 338.8 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008239/0.02036, allocations: 0.7131 MB / 339.5 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.02036, allocations: 4 kB / 339.5 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.152e-05/0.02043, allocations: 23.98 kB / 339.5 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002293/0.02066, allocations: 137.6 kB / 339.7 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.02067, allocations: 4 kB / 339.7 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002314/0.02298, allocations: 3.142 MB / 342.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.02299, allocations: 7.922 kB / 342.8 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007182/0.02371, allocations: 0.6023 MB / 343.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.47e-05/0.02373, allocations: 31.81 kB / 343.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.02374, allocations: 0 / 343.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.02385, allocations: 23.98 kB / 343.5 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.0239, allocations: 35.91 kB / 343.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.02391, allocations: 4 kB / 343.5 MB, free: 12.72 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001051/0.02401, allocations: 181.2 kB / 343.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02401, allocations: 0 / 343.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003956/0.02441, allocations: 159.7 kB / 343.8 MB, free: 12.39 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.0001147/0.02452, allocations: 107.2 kB / 343.9 MB, free: 12.28 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008685/0.02539, allocations: 0.8783 MB / 344.8 MB, free: 11.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.02539, allocations: 0 / 344.8 MB, free: 11.35 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002378/0.02563, allocations: 352.3 kB / 345.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.02589, allocations: 47.92 kB / 345.2 MB, free: 10.94 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000716/0.02661, allocations: 0.5824 MB / 345.8 MB, free: 10.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.389e-05/0.0267, allocations: 156.7 kB / 345.9 MB, free: 10.14 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.02674, allocations: 20.5 kB / 346 MB, free: 10.12 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02674, allocations: 0 / 346 MB, free: 10.12 MB / 314.7 MB Notification: Performance of Templates: time 0.004923/0.03167, allocations: 5.766 MB / 351.7 MB, free: 4.348 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.435203178785741]