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.001265/0.001265, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001369/0.001369, allocations: 213.9 kB / 24.48 MB, free: 3.836 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.441/1.441, allocations: 230.5 MB / 258.1 MB, free: 7.801 MB / 206.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 0.002003/0.002003, allocations: 63.91 kB / 379 MB, free: 2.371 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2338, allocations: 53.42 MB / 432.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.005166/0.239, allocations: 2.768 MB / 435.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.2406, allocations: 0.7011 MB / 435.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.2408, allocations: 7.938 kB / 435.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.241, allocations: 63.42 kB / 436 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.2412, allocations: 111.1 kB / 436.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.2415, allocations: 95.81 kB / 436.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004602/0.2419, allocations: 410.2 kB / 436.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.2422, allocations: 91.78 kB / 436.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.2424, allocations: 155.4 kB / 436.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.2426, allocations: 155.2 kB / 437 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.594e-05/0.2427, allocations: 32 kB / 437 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.621e-05/0.2427, allocations: 36 kB / 437 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.348e-05/0.2428, allocations: 75.7 kB / 437.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.243, allocations: 151.3 kB / 437.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004755/0.2434, allocations: 399.9 kB / 437.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2434, allocations: 4 kB / 437.6 MB, free: 1.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2434, allocations: 0 / 437.6 MB, free: 1.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.2434, allocations: 0 / 437.6 MB, free: 1.293 MB / 334.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.001018/0.2445, allocations: 0.5598 MB / 438.2 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.2445, allocations: 15.98 kB / 438.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.121e-05/0.2446, allocations: 48.69 kB / 438.3 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004902/0.2451, allocations: 242.2 kB / 438.5 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.2451, allocations: 29.03 kB / 438.5 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.429e-05/0.2452, allocations: 28.38 kB / 438.6 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005774/0.2458, allocations: 426.8 kB / 439 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.2458, allocations: 0 / 439 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.2458, allocations: 20 kB / 439 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.2458, allocations: 8 kB / 439 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004227/0.2462, allocations: 242.5 kB / 439.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.2481, allocations: 0.9604 MB / 440.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005421/0.2486, allocations: 226.8 kB / 440.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003595/0.249, allocations: 153.4 kB / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.249, allocations: 7.984 kB / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.249, allocations: 34.56 kB / 440.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.184e-06/0.249, allocations: 0 / 440.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001175/0.2502, allocations: 407.2 kB / 441 MB, free: 13.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.2503, allocations: 59.41 kB / 441.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.2505, allocations: 253 kB / 441.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.2506, allocations: 29.7 kB / 441.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.2507, allocations: 216.2 kB / 441.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.437e-05/0.2508, allocations: 87.27 kB / 441.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.91e-05/0.2509, allocations: 69.61 kB / 441.7 MB, free: 13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.2511, allocations: 342.7 kB / 442 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.2512, allocations: 79.97 kB / 442.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.2514, allocations: 163.1 kB / 442.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/0.2517, allocations: 258.9 kB / 442.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2517, allocations: 0 / 442.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006937/0.2524, allocations: 382.8 kB / 442.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.2525, allocations: 11.94 kB / 442.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.2525, allocations: 4 kB / 442.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003995/0.2529, allocations: 86.02 kB / 443 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.2531, allocations: 67.84 kB / 443.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/0.2559, allocations: 2.722 MB / 445.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.2561, allocations: 35.73 kB / 445.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.2561, allocations: 16 kB / 445.9 MB, free: 8.547 MB / 350.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.0001892/0.2563, allocations: 157.2 kB / 446 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.2564, allocations: 23.86 kB / 446 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.057e-05/0.2565, allocations: 34.27 kB / 446.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.2565, allocations: 7.938 kB / 446.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2565, allocations: 0 / 446.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2565, allocations: 3.984 kB / 446.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.2576, allocations: 0.6217 MB / 446.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.2576, allocations: 4 kB / 446.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.2578, allocations: 35.92 kB / 446.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002958/0.2581, allocations: 77.64 kB / 446.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.2581, allocations: 8 kB / 446.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002598/0.2607, allocations: 2.734 MB / 449.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.2607, allocations: 4 kB / 449.6 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007519/0.2615, allocations: 460.1 kB / 450 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.6e-05/0.2616, allocations: 35.75 kB / 450 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.2616, allocations: 4 kB / 450 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.2618, allocations: 24.11 kB / 450.1 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.669e-05/0.2619, allocations: 23.95 kB / 450.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.2619, allocations: 12 kB / 450.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000178/0.2621, allocations: 176.5 kB / 450.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2621, allocations: 0 / 450.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004704/0.2626, allocations: 99.84 kB / 450.4 MB, free: 3.73 MB / 350.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.0001554/0.2627, allocations: 103.2 kB / 450.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006845/0.2634, allocations: 445.2 kB / 450.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2634, allocations: 3.938 kB / 450.9 MB, free: 3.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003691/0.2638, allocations: 325.2 kB / 451.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.2642, allocations: 52.16 kB / 451.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.2655, allocations: 0.7039 MB / 452 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.2657, allocations: 173.1 kB / 452.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.05e-05/0.2658, allocations: 27.44 kB / 452.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2658, allocations: 4 kB / 452.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of Templates: time 0.009124/0.2749, allocations: 6.065 MB / 458.2 MB, free: 11.74 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","/var/lib/jenkins1/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: 7.770028262864798]