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.001358/0.001358, allocations: 107.6 kB / 21.19 MB, free: 0.668 MB / 14.72 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.001472/0.001472, allocations: 207.5 kB / 24.48 MB, free: 3.977 MB / 14.72 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 1.536/1.536, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001606/0.001606, allocations: 51.92 kB / 379 MB, free: 2.539 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2425, allocations: 53.37 MB / 432.4 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004281/0.2468, allocations: 2.734 MB / 435.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.2482, allocations: 0.744 MB / 435.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.2484, allocations: 4 kB / 435.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.2486, allocations: 59.44 kB / 435.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.2488, allocations: 107.1 kB / 436 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.2491, allocations: 123.7 kB / 436.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004372/0.2495, allocations: 406.3 kB / 436.5 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.2497, allocations: 91.72 kB / 436.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.2499, allocations: 147.5 kB / 436.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.2501, allocations: 151.2 kB / 436.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.681e-05/0.2502, allocations: 32 kB / 436.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.4e-05/0.2503, allocations: 32 kB / 437 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.036e-05/0.2503, allocations: 79.67 kB / 437 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.2505, allocations: 147.3 kB / 437.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004206/0.2509, allocations: 380.1 kB / 437.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2509, allocations: 0 / 437.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2509, allocations: 0 / 437.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.2509, allocations: 0 / 437.6 MB, free: 1.512 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001081/0.252, allocations: 0.5715 MB / 438.1 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.252, allocations: 12.03 kB / 438.1 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.021e-05/0.2521, allocations: 36.7 kB / 438.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.2526, allocations: 225.9 kB / 438.4 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.2526, allocations: 29.03 kB / 438.4 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.164e-05/0.2526, allocations: 28.38 kB / 438.5 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007243/0.2534, allocations: 418.5 kB / 438.9 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.2534, allocations: 3.984 kB / 438.9 MB, free: 124 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/0.2534, allocations: 12 kB / 438.9 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.2534, allocations: 8 kB / 438.9 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007035/0.2541, allocations: 290.4 kB / 439.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.256, allocations: 1.015 MB / 440.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008976/0.2569, allocations: 278.7 kB / 440.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004955/0.2574, allocations: 179.2 kB / 440.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.2574, allocations: 4 kB / 440.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.2574, allocations: 34.55 kB / 440.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.923e-06/0.2574, allocations: 0 / 440.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.002603/0.26, allocations: 0.6939 MB / 441.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.2601, allocations: 55.34 kB / 441.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.2603, allocations: 260.9 kB / 441.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.2604, allocations: 29.7 kB / 441.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.2605, allocations: 216.2 kB / 441.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.175e-05/0.2606, allocations: 75.38 kB / 442 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.881e-05/0.2607, allocations: 53.7 kB / 442 MB, free: 12.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2608, allocations: 334.8 kB / 442.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/0.2611, allocations: 104.7 kB / 442.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.2615, allocations: 196.7 kB / 442.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006074/0.2621, allocations: 301 kB / 443 MB, free: 11.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2621, allocations: 4 kB / 443 MB, free: 11.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001433/0.2635, allocations: 0.5183 MB / 443.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.2635, allocations: 8 kB / 443.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.2635, allocations: 8.094 kB / 443.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005988/0.2641, allocations: 141.6 kB / 443.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.2643, allocations: 55.91 kB / 443.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005422/0.2698, allocations: 3.444 MB / 447.1 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.27, allocations: 39.77 kB / 447.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.2701, allocations: 12.06 kB / 447.2 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000302/0.2704, allocations: 184.1 kB / 447.4 MB, free: 7.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002646/0.2706, allocations: 171.9 kB / 447.5 MB, free: 6.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004534/0.2711, allocations: 271.7 kB / 447.8 MB, free: 6.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.013e-06/0.2711, allocations: 4 kB / 447.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0009709/0.2721, allocations: 405.7 kB / 448.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.2721, allocations: 8 kB / 448.2 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2721, allocations: 4 kB / 448.2 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003107/0.2724, allocations: 85.75 kB / 448.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.2726, allocations: 67.84 kB / 448.4 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003099/0.2757, allocations: 2.748 MB / 451.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.2759, allocations: 35.72 kB / 451.1 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.2759, allocations: 23.92 kB / 451.2 MB, free: 3.062 MB / 350.1 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 0.000164/0.2761, allocations: 196.3 kB / 451.4 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.788e-05/0.2762, allocations: 31.78 kB / 451.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.004e-05/0.2762, allocations: 30.12 kB / 451.4 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.2762, allocations: 4.078 kB / 451.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.2762, allocations: 0 / 451.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.2762, allocations: 7.969 kB / 451.4 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.2779, allocations: 0.7091 MB / 452.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.2779, allocations: 0 / 452.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.278, allocations: 35.86 kB / 452.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004848/0.2785, allocations: 141.6 kB / 452.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.2785, allocations: 0 / 452.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004482/0.283, allocations: 3.155 MB / 455.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.283, allocations: 0 / 455.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.2846, allocations: 0.606 MB / 456.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-05/0.2847, allocations: 23.95 kB / 456.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.2847, allocations: 4 kB / 456.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.285, allocations: 31.91 kB / 456.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/0.2851, allocations: 19.97 kB / 456.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.2851, allocations: 8 kB / 456.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.2853, allocations: 172.5 kB / 456.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2853, allocations: 0 / 456.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007145/0.286, allocations: 167.7 kB / 456.5 MB, free: 13.46 MB / 366.1 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.0001591/0.2861, allocations: 107.2 kB / 456.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.2879, allocations: 0.8733 MB / 457.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2879, allocations: 1.438 kB / 457.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005333/0.2885, allocations: 352 kB / 457.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.2889, allocations: 36.41 kB / 457.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.2903, allocations: 0.6464 MB / 458.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.2905, allocations: 160.7 kB / 458.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.062e-05/0.2905, allocations: 23.44 kB / 458.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2905, allocations: 0 / 458.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of Templates: time 0.008899/0.2994, allocations: 5.759 MB / 464.4 MB, free: 5.367 MB / 366.1 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/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_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: 7.955383152700961]