Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.001331/0.001331, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001496/0.001496, allocations: 206.6 kB / 24.47 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.498/1.498, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 51.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2686, allocations: 53.37 MB / 432.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004337/0.2729, allocations: 2.7 MB / 435.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.2743, allocations: 0.7168 MB / 435.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.2744, allocations: 7.938 kB / 435.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.2746, allocations: 47.56 kB / 435.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.2748, allocations: 107.2 kB / 435.9 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.2751, allocations: 111.8 kB / 436 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004608/0.2756, allocations: 394.5 kB / 436.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.2758, allocations: 90.62 kB / 436.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003084/0.2761, allocations: 167.4 kB / 436.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.2763, allocations: 163.3 kB / 436.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.651e-05/0.2764, allocations: 36 kB / 436.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.757e-05/0.2764, allocations: 40 kB / 436.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.045e-05/0.2765, allocations: 75.77 kB / 437 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.2767, allocations: 147.3 kB / 437.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004787/0.2771, allocations: 422.1 kB / 437.5 MB, free: 1.512 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2771, allocations: 0 / 437.5 MB, free: 1.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2771, allocations: 0 / 437.5 MB, free: 1.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.2772, allocations: 0 / 437.5 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001423/0.2786, allocations: 0.5887 MB / 438.1 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.2786, allocations: 12.03 kB / 438.1 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.154e-05/0.2787, allocations: 32.75 kB / 438.2 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004447/0.2792, allocations: 238.9 kB / 438.4 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.2792, allocations: 20.81 kB / 438.4 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.784e-05/0.2792, allocations: 24.38 kB / 438.5 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000776/0.28, allocations: 348.7 kB / 438.8 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.28, allocations: 3.938 kB / 438.8 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.2801, allocations: 12 kB / 438.8 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.2801, allocations: 4 kB / 438.8 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000856/0.2809, allocations: 273.8 kB / 439.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002047/0.283, allocations: 1.002 MB / 440.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009536/0.2839, allocations: 242.5 kB / 440.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.2843, allocations: 100.8 kB / 440.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.2843, allocations: 0 / 440.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005143/0.2848, allocations: 194.7 kB / 440.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 3.486e-06/0.2848, allocations: 7.984 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002207/0.287, allocations: 0.5135 MB / 441.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.2871, allocations: 81.11 kB / 441.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.2874, allocations: 268.9 kB / 441.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.2874, allocations: 29.7 kB / 441.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.2876, allocations: 200 kB / 441.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.2876, allocations: 47.56 kB / 441.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.2877, allocations: 49.66 kB / 441.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.2879, allocations: 330.8 kB / 442.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/0.2883, allocations: 129.9 kB / 442.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004953/0.2888, allocations: 250.9 kB / 442.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008306/0.2896, allocations: 299.7 kB / 442.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2896, allocations: 4 kB / 442.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001299/0.2909, allocations: 476.5 kB / 443.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.291, allocations: 40.89 kB / 443.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.291, allocations: 0 / 443.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003288/0.2913, allocations: 72.69 kB / 443.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.2915, allocations: 55.95 kB / 443.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.2939, allocations: 1.498 MB / 444.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.2942, allocations: 51.89 kB / 445 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.2943, allocations: 15.94 kB / 445 MB, free: 9.598 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001562/0.2944, allocations: 145.8 kB / 445.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.2945, allocations: 23.86 kB / 445.1 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.994e-05/0.2945, allocations: 21.7 kB / 445.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2945, allocations: 0 / 445.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2945, allocations: 7.938 kB / 445.2 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.2945, allocations: 3.984 kB / 445.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.2948, allocations: 221.1 kB / 445.4 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2948, allocations: 0 / 445.4 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.295, allocations: 35.97 kB / 445.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002402/0.2952, allocations: 60.81 kB / 445.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.2952, allocations: 4 kB / 445.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/0.2974, allocations: 1.498 MB / 447 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2974, allocations: 0 / 447 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.2989, allocations: 457.5 kB / 447.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.2989, allocations: 19.89 kB / 447.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.299, allocations: 7.984 kB / 447.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.2992, allocations: 31.91 kB / 447.5 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.193e-05/0.2993, allocations: 19.97 kB / 447.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.2993, allocations: 0 / 447.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002034/0.2995, allocations: 188.5 kB / 447.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2995, allocations: 3.938 kB / 447.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003479/0.2998, allocations: 67.83 kB / 447.8 MB, free: 6.637 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001441/0.3, allocations: 107.2 kB / 447.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.301, allocations: 431.6 kB / 448.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3011, allocations: 0 / 448.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004772/0.3015, allocations: 223 kB / 448.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.3019, allocations: 38.97 kB / 448.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/0.3055, allocations: 0.8774 MB / 449.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.3057, allocations: 146.9 kB / 449.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.3058, allocations: 22.28 kB / 449.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.36e-05/0.3058, allocations: 19.44 kB / 449.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3058, allocations: 0 / 449.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of Templates: time 0.008509/0.3143, allocations: 4.068 MB / 453.7 MB, free: 0.6836 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.503856932002236]