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.001696/0.001696, allocations: 84.25 kB / 20.68 MB, free: 1.039 MB / 14.72 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.002029/0.002029, allocations: 158.4 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.515/1.515, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 2.505e-06/2.505e-06, allocations: 0 / 325.1 MB, free: 468 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.322e-05, allocations: 3.438 kB / 325.1 MB, free: 464 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.007288/0.007321, allocations: 2.767 MB / 327.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002705/0.01003, allocations: 0.7174 MB / 328.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006993/0.01073, allocations: 10.69 kB / 328.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004612/0.01119, allocations: 63.08 kB / 328.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000694/0.01188, allocations: 120.2 kB / 328.7 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005842/0.01247, allocations: 93.02 kB / 328.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.0137, allocations: 430.8 kB / 329.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003906/0.01409, allocations: 88.91 kB / 329.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007296/0.01482, allocations: 234.4 kB / 329.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004929/0.01532, allocations: 130.3 kB / 329.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.01548, allocations: 33.38 kB / 329.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.01567, allocations: 34.06 kB / 329.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.01584, allocations: 79.78 kB / 329.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004149/0.01625, allocations: 120.7 kB / 330 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008853/0.01714, allocations: 400.8 kB / 330.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.01714, allocations: 0 / 330.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01715, allocations: 4 kB / 330.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.166e-05/0.01718, allocations: 0 / 330.3 MB, free: 13.18 MB / 302.1 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.001756/0.01893, allocations: 0.5595 MB / 330.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/0.01899, allocations: 12.92 kB / 330.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/0.01918, allocations: 45.05 kB / 331 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007799/0.01996, allocations: 246 kB / 331.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.903e-05/0.02001, allocations: 21.94 kB / 331.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.02012, allocations: 33.72 kB / 331.3 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009973/0.02111, allocations: 422.6 kB / 331.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.02113, allocations: 1.25 kB / 331.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.864e-05/0.02119, allocations: 15.69 kB / 331.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.02121, allocations: 16 kB / 331.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006672/0.02188, allocations: 237 kB / 331.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002912/0.02479, allocations: 0.9511 MB / 332.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008103/0.0256, allocations: 235.9 kB / 333.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005325/0.02613, allocations: 152.8 kB / 333.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.02617, allocations: 2.75 kB / 333.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.02622, allocations: 41.59 kB / 333.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 2.054e-06/0.02622, allocations: 3.938 kB / 333.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001692/0.02791, allocations: 406.9 kB / 333.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.02796, allocations: 54.59 kB / 333.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004226/0.02838, allocations: 257.2 kB / 334 MB, free: 10.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.02843, allocations: 31.2 kB / 334 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.02863, allocations: 213.4 kB / 334.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.02876, allocations: 86.75 kB / 334.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.02893, allocations: 71.3 kB / 334.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.02915, allocations: 336.2 kB / 334.7 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.02936, allocations: 76.72 kB / 334.8 MB, free: 9.793 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.02968, allocations: 165.8 kB / 335 MB, free: 9.645 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005803/0.03026, allocations: 263.1 kB / 335.2 MB, free: 9.441 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.03027, allocations: 0 / 335.2 MB, free: 9.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001121/0.03139, allocations: 382.9 kB / 335.6 MB, free: 9.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.03141, allocations: 6.281 kB / 335.6 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.03142, allocations: 2.844 kB / 335.6 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005553/0.03198, allocations: 86.2 kB / 335.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/0.03235, allocations: 70.5 kB / 335.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003871/0.03622, allocations: 2.723 MB / 338.5 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/0.03658, allocations: 43.09 kB / 338.5 MB, free: 6.461 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.03662, allocations: 15.16 kB / 338.5 MB, free: 6.457 MB / 302.1 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.0002583/0.03688, allocations: 152.7 kB / 338.7 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.533e-05/0.03697, allocations: 25.45 kB / 338.7 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.237e-05/0.03706, allocations: 32.02 kB / 338.8 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.03706, allocations: 3.562 kB / 338.8 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.03708, allocations: 4 kB / 338.8 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.03709, allocations: 9.016 kB / 338.8 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.03875, allocations: 0.6218 MB / 339.4 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.03876, allocations: 3.984 kB / 339.4 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002828/0.03904, allocations: 39.67 kB / 339.4 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004387/0.03948, allocations: 82.27 kB / 339.5 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.03951, allocations: 4.969 kB / 339.5 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003766/0.04327, allocations: 2.718 MB / 342.2 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.04328, allocations: 0 / 342.2 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.04438, allocations: 463.2 kB / 342.7 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-05/0.04446, allocations: 27.77 kB / 342.7 MB, free: 2.516 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.358e-05/0.04452, allocations: 8 kB / 342.7 MB, free: 2.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.04486, allocations: 32.03 kB / 342.8 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.04496, allocations: 19.97 kB / 342.8 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.04499, allocations: 12 kB / 342.8 MB, free: 2.445 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000268/0.04526, allocations: 181.2 kB / 343 MB, free: 2.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.04526, allocations: 3.938 kB / 343 MB, free: 2.266 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007189/0.04598, allocations: 103.8 kB / 343.1 MB, free: 2.164 MB / 302.1 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.0002051/0.04619, allocations: 103.2 kB / 343.2 MB, free: 2.051 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009085/0.04709, allocations: 441 kB / 343.6 MB, free: 1.594 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.0471, allocations: 0 / 343.6 MB, free: 1.594 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005334/0.04763, allocations: 321.3 kB / 343.9 MB, free: 1.254 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006081/0.04824, allocations: 49.28 kB / 344 MB, free: 1.207 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.05001, allocations: 0.6081 MB / 344.6 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.05026, allocations: 169.2 kB / 344.7 MB, free: 396 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001627/0.05042, allocations: 30.97 kB / 344.8 MB, free: 364 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.235e-05/0.05051, allocations: 24.5 kB / 344.8 MB, free: 336 kB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.05052, allocations: 0 / 344.8 MB, free: 336 kB / 302.1 MB Notification: Performance of Templates: time 0.01267/0.06319, allocations: 3.709 MB / 348.5 MB, free: 12.66 MB / 318.1 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.77657163888216]