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.001279/0.001279, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 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.001422/0.001422, allocations: 189.3 kB / 24.48 MB, free: 4.164 MB / 14.72 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 1.479/1.479, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001558/0.001558, allocations: 51.92 kB / 371.7 MB, free: 9.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.242, allocations: 52.19 MB / 423.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004865/0.2468, allocations: 2.966 MB / 426.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.2482, allocations: 0.744 MB / 427.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.2484, allocations: 7.938 kB / 427.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.2486, allocations: 63.42 kB / 427.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.2488, allocations: 107.1 kB / 427.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.2491, allocations: 119.8 kB / 427.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004633/0.2496, allocations: 402.3 kB / 428.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.2498, allocations: 99.78 kB / 428.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.25, allocations: 151.4 kB / 428.6 MB, free: 9.969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.2502, allocations: 175.2 kB / 428.7 MB, free: 9.797 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.608e-05/0.2503, allocations: 32 kB / 428.8 MB, free: 9.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.494e-05/0.2503, allocations: 32 kB / 428.8 MB, free: 9.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.699e-05/0.2504, allocations: 75.7 kB / 428.9 MB, free: 9.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.2506, allocations: 171.1 kB / 429 MB, free: 9.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004173/0.251, allocations: 371.7 kB / 429.4 MB, free: 9.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.251, allocations: 7.938 kB / 429.4 MB, free: 9.125 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.251, allocations: 0 / 429.4 MB, free: 9.125 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.251, allocations: 0 / 429.4 MB, free: 9.125 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.001091/0.2521, allocations: 0.5754 MB / 430 MB, free: 8.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/0.2522, allocations: 8.031 kB / 430 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.983e-05/0.2522, allocations: 40.7 kB / 430 MB, free: 8.473 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.2527, allocations: 226.7 kB / 430.3 MB, free: 8.227 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.2527, allocations: 29.03 kB / 430.3 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.636e-05/0.2528, allocations: 32.31 kB / 430.3 MB, free: 8.164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000686/0.2535, allocations: 345.4 kB / 430.7 MB, free: 7.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.2535, allocations: 0 / 430.7 MB, free: 7.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.2535, allocations: 8 kB / 430.7 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.2535, allocations: 8 kB / 430.7 MB, free: 7.805 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007029/0.2542, allocations: 294.4 kB / 431 MB, free: 7.516 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.2563, allocations: 1.128 MB / 432.1 MB, free: 6.316 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008881/0.2572, allocations: 290 kB / 432.4 MB, free: 6.027 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004802/0.2576, allocations: 168.7 kB / 432.5 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.2577, allocations: 7.984 kB / 432.5 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.2577, allocations: 34.55 kB / 432.6 MB, free: 5.809 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/0.2577, allocations: 0 / 432.6 MB, free: 5.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.002652/0.2604, allocations: 0.708 MB / 433.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.2604, allocations: 55.34 kB / 433.3 MB, free: 5.023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/0.2607, allocations: 277.9 kB / 433.6 MB, free: 4.742 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.2607, allocations: 25.7 kB / 433.6 MB, free: 4.711 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.2609, allocations: 208.3 kB / 433.8 MB, free: 4.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.261, allocations: 75.33 kB / 433.9 MB, free: 4.426 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.869e-05/0.2611, allocations: 53.7 kB / 434 MB, free: 4.367 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.2612, allocations: 334.8 kB / 434.3 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.2615, allocations: 108.7 kB / 434.4 MB, free: 3.922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.2618, allocations: 192 kB / 434.6 MB, free: 3.691 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006117/0.2625, allocations: 295.2 kB / 434.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2625, allocations: 0 / 434.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001489/0.2639, allocations: 0.5338 MB / 435.4 MB, free: 2.816 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.264, allocations: 8 kB / 435.4 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.264, allocations: 4 kB / 435.4 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006033/0.2646, allocations: 145.7 kB / 435.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.2648, allocations: 51.92 kB / 435.6 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005544/0.2703, allocations: 3.494 MB / 439.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.2706, allocations: 51.83 kB / 439.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.2707, allocations: 12 kB / 439.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003111/0.271, allocations: 180.1 kB / 439.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002675/0.2712, allocations: 180.4 kB / 439.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005093/0.2718, allocations: 274.5 kB / 439.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.526e-06/0.2718, allocations: 4 kB / 439.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0009667/0.2727, allocations: 406.9 kB / 440.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2727, allocations: 8 kB / 440.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2728, allocations: 4 kB / 440.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003052/0.2731, allocations: 81.75 kB / 440.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.2733, allocations: 63.91 kB / 440.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003089/0.2764, allocations: 2.81 MB / 443.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.2766, allocations: 31.83 kB / 443.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.2766, allocations: 16 kB / 443.2 MB, free: 10.45 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.0001793/0.2768, allocations: 204.1 kB / 443.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.527e-05/0.2769, allocations: 23.86 kB / 443.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.823e-05/0.2769, allocations: 34.11 kB / 443.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.2769, allocations: 3.938 kB / 443.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.2769, allocations: 0 / 443.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2769, allocations: 0 / 443.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.2787, allocations: 0.7838 MB / 444.2 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2787, allocations: 0 / 444.2 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.2788, allocations: 27.98 kB / 444.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004806/0.2793, allocations: 137.5 kB / 444.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.2793, allocations: 4 kB / 444.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004452/0.2837, allocations: 3.219 MB / 447.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.2837, allocations: 3.938 kB / 447.6 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.2853, allocations: 0.6133 MB / 448.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.176e-05/0.2853, allocations: 31.84 kB / 448.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.2854, allocations: 7.938 kB / 448.3 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.2856, allocations: 23.97 kB / 448.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.322e-05/0.2857, allocations: 19.97 kB / 448.3 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.2857, allocations: 8 kB / 448.3 MB, free: 4.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002168/0.2859, allocations: 197.1 kB / 448.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2859, allocations: 4 kB / 448.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006866/0.2866, allocations: 159.7 kB / 448.7 MB, free: 4.641 MB / 350.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.0001315/0.2867, allocations: 99.19 kB / 448.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00181/0.2885, allocations: 0.8811 MB / 449.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2885, allocations: 8.062 kB / 449.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005187/0.2891, allocations: 345.2 kB / 450 MB, free: 3.234 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.2895, allocations: 48.61 kB / 450.1 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.2908, allocations: 0.6241 MB / 450.7 MB, free: 2.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.2912, allocations: 0.7648 MB / 451.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.177e-05/0.2912, allocations: 27.38 kB / 451.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2912, allocations: 0 / 451.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of Templates: time 0.008721/0.3, allocations: 5.788 MB / 457.3 MB, free: 11.93 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","/var/lib/jenkins1/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: 7.794289019191638]