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.001594/0.001594, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001775/0.001775, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.404/1.404, allocations: 230.6 MB / 258.3 MB, free: 7.973 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.001613/0.001613, allocations: 47.94 kB / 379.1 MB, free: 2.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2698, allocations: 53.37 MB / 432.4 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004643/0.2744, allocations: 2.982 MB / 435.4 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.2759, allocations: 0.7752 MB / 436.2 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.276, allocations: 7.938 kB / 436.2 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.2762, allocations: 55.44 kB / 436.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.2764, allocations: 111.1 kB / 436.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.2767, allocations: 115.8 kB / 436.5 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004733/0.2772, allocations: 406.3 kB / 436.9 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.2774, allocations: 103.7 kB / 437 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.2776, allocations: 147.5 kB / 437.1 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.2779, allocations: 179.1 kB / 437.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.758e-05/0.2779, allocations: 32 kB / 437.3 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.642e-05/0.278, allocations: 40 kB / 437.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.087e-05/0.2781, allocations: 71.75 kB / 437.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.2782, allocations: 171.1 kB / 437.6 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004342/0.2787, allocations: 379.6 kB / 438 MB, free: 1.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2787, allocations: 0 / 438 MB, free: 1.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2787, allocations: 0 / 438 MB, free: 1.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.2787, allocations: 0 / 438 MB, free: 1.32 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.00106/0.2797, allocations: 0.5676 MB / 438.5 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.2798, allocations: 8.031 kB / 438.5 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.547e-05/0.2799, allocations: 44.64 kB / 438.6 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.2803, allocations: 230 kB / 438.8 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.2803, allocations: 21.03 kB / 438.8 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.216e-05/0.2804, allocations: 32.31 kB / 438.9 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006522/0.281, allocations: 345.4 kB / 439.2 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.281, allocations: 0 / 439.2 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.2811, allocations: 12 kB / 439.2 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.2811, allocations: 8 kB / 439.2 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007006/0.2818, allocations: 282.5 kB / 439.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.2836, allocations: 1.132 MB / 440.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008564/0.2845, allocations: 302 kB / 440.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000467/0.285, allocations: 168.7 kB / 441.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.285, allocations: 7.938 kB / 441.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.285, allocations: 38.5 kB / 441.1 MB, free: 14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/0.285, allocations: 0 / 441.1 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.002513/0.2875, allocations: 0.7047 MB / 441.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.2876, allocations: 55.34 kB / 441.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.2879, allocations: 269.9 kB / 442.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.2879, allocations: 29.7 kB / 442.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.2881, allocations: 208.3 kB / 442.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.984e-05/0.2881, allocations: 75.41 kB / 442.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.972e-05/0.2882, allocations: 57.66 kB / 442.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2884, allocations: 338.8 kB / 442.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/0.2886, allocations: 104.7 kB / 443 MB, free: 12.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/0.289, allocations: 196.7 kB / 443.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005977/0.2896, allocations: 297.4 kB / 443.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2896, allocations: 4 kB / 443.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001405/0.291, allocations: 0.5141 MB / 444 MB, free: 11.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.291, allocations: 12.09 kB / 444 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.291, allocations: 8 kB / 444 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005804/0.2916, allocations: 145.5 kB / 444.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.2918, allocations: 59.84 kB / 444.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005319/0.2971, allocations: 3.502 MB / 447.7 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/0.2974, allocations: 51.7 kB / 447.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.2974, allocations: 16 kB / 447.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002993/0.2977, allocations: 176.1 kB / 447.9 MB, free: 6.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002542/0.298, allocations: 176 kB / 448.1 MB, free: 6.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004359/0.2984, allocations: 263.7 kB / 448.3 MB, free: 6.312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.817e-06/0.2984, allocations: 4 kB / 448.3 MB, free: 6.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0009334/0.2993, allocations: 417.6 kB / 448.8 MB, free: 5.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2994, allocations: 8 kB / 448.8 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2994, allocations: 4 kB / 448.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002963/0.2997, allocations: 81.75 kB / 448.8 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.2999, allocations: 63.91 kB / 448.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003031/0.3029, allocations: 2.805 MB / 451.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.3031, allocations: 31.95 kB / 451.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.3031, allocations: 12 kB / 451.8 MB, free: 2.648 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.000173/0.3033, allocations: 204.1 kB / 452 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-05/0.3034, allocations: 31.75 kB / 452 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.487e-05/0.3034, allocations: 30.12 kB / 452 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.3034, allocations: 0 / 452 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.3034, allocations: 3.984 kB / 452 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.3035, allocations: 4 kB / 452 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.3051, allocations: 0.7876 MB / 452.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3051, allocations: 0 / 452.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.3052, allocations: 27.98 kB / 452.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004612/0.3057, allocations: 133.6 kB / 453 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.3057, allocations: 4 kB / 453 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00435/0.3101, allocations: 3.213 MB / 456.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3101, allocations: 7.875 kB / 456.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.3116, allocations: 0.6124 MB / 456.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.3116, allocations: 31.75 kB / 456.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.3116, allocations: 4 kB / 456.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.3119, allocations: 27.98 kB / 456.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/0.312, allocations: 24.02 kB / 456.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.312, allocations: 4 kB / 456.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002066/0.3122, allocations: 193.2 kB / 457.1 MB, free: 13 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3122, allocations: 0 / 457.1 MB, free: 13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000681/0.3129, allocations: 159.7 kB / 457.2 MB, free: 12.84 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.0001501/0.313, allocations: 109.3 kB / 457.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.3147, allocations: 0.8741 MB / 458.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3147, allocations: 0 / 458.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004909/0.3152, allocations: 357.8 kB / 458.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.3156, allocations: 48.47 kB / 458.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.3169, allocations: 0.6302 MB / 459.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.3174, allocations: 0.7648 MB / 460 MB, free: 9.926 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.978e-05/0.3174, allocations: 27.44 kB / 460 MB, free: 9.898 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3174, allocations: 0 / 460 MB, free: 9.898 MB / 366.1 MB Notification: Performance of Templates: time 0.008685/0.3261, allocations: 5.775 MB / 465.8 MB, free: 4.125 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.3479808869306]