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.001455/0.001455, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001533/0.001533, allocations: 208.5 kB / 23.73 MB, free: 4.523 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.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001593/0.001593, allocations: 47.91 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2693, allocations: 53.36 MB / 431.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004499/0.2738, allocations: 2.702 MB / 434.3 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.2753, allocations: 0.7285 MB / 435 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.2755, allocations: 7.938 kB / 435 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.2757, allocations: 47.52 kB / 435.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000211/0.2759, allocations: 99.17 kB / 435.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.2762, allocations: 119.8 kB / 435.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004678/0.2767, allocations: 386.5 kB / 435.7 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002474/0.2769, allocations: 94.19 kB / 435.8 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003218/0.2772, allocations: 167.4 kB / 435.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.2775, allocations: 159.3 kB / 436.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.748e-05/0.2775, allocations: 40 kB / 436.1 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.748e-05/0.2776, allocations: 36 kB / 436.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.081e-05/0.2777, allocations: 79.73 kB / 436.2 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.2779, allocations: 135.4 kB / 436.4 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005262/0.2784, allocations: 438 kB / 436.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2784, allocations: 0 / 436.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2784, allocations: 0 / 436.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.2784, allocations: 0 / 436.8 MB, free: 1.516 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.001358/0.2797, allocations: 0.5965 MB / 437.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2798, allocations: 8.031 kB / 437.4 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.788e-05/0.2799, allocations: 36.75 kB / 437.4 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/0.2803, allocations: 227 kB / 437.7 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.2804, allocations: 20.88 kB / 437.7 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.433e-05/0.2804, allocations: 24.38 kB / 437.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007523/0.2812, allocations: 348.7 kB / 438 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.2812, allocations: 0 / 438 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.2812, allocations: 8 kB / 438.1 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.2812, allocations: 8 kB / 438.1 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008575/0.2821, allocations: 273.8 kB / 438.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/0.2841, allocations: 1.002 MB / 439.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009088/0.285, allocations: 242.5 kB / 439.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/0.2853, allocations: 96.78 kB / 439.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.2854, allocations: 4 kB / 439.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005403/0.2859, allocations: 198.7 kB / 439.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.2859, allocations: 0 / 439.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002106/0.288, allocations: 0.5136 MB / 440.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.2881, allocations: 85.11 kB / 440.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.2884, allocations: 256.9 kB / 440.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.2884, allocations: 37.64 kB / 440.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.2886, allocations: 200 kB / 440.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.2886, allocations: 43.62 kB / 441 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.509e-05/0.2887, allocations: 53.66 kB / 441 MB, free: 13.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2889, allocations: 330.8 kB / 441.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/0.2893, allocations: 129.9 kB / 441.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004597/0.2897, allocations: 246.9 kB / 441.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007381/0.2905, allocations: 298.3 kB / 442 MB, free: 11.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2905, allocations: 4 kB / 442 MB, free: 11.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001247/0.2917, allocations: 469.5 kB / 442.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/0.2918, allocations: 37.69 kB / 442.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.2918, allocations: 4 kB / 442.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003482/0.2921, allocations: 72.8 kB / 442.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.2924, allocations: 55.91 kB / 442.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.2946, allocations: 1.506 MB / 444.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.295, allocations: 51.81 kB / 444.2 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.295, allocations: 8 kB / 444.2 MB, free: 9.621 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.0001686/0.2951, allocations: 159.8 kB / 444.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.2952, allocations: 19.86 kB / 444.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.632e-05/0.2952, allocations: 25.7 kB / 444.4 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2952, allocations: 0 / 444.4 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.2952, allocations: 0 / 444.4 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.2952, allocations: 0 / 444.4 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.2955, allocations: 221 kB / 444.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2955, allocations: 0 / 444.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.2957, allocations: 39.95 kB / 444.7 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002332/0.2959, allocations: 60.81 kB / 444.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.296, allocations: 7.984 kB / 444.7 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/0.2981, allocations: 1.495 MB / 446.2 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2981, allocations: 0 / 446.2 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.2995, allocations: 461.9 kB / 446.7 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.2996, allocations: 15.86 kB / 446.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.2996, allocations: 4 kB / 446.7 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.2999, allocations: 35.89 kB / 446.7 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.909e-05/0.2999, allocations: 19.91 kB / 446.8 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.3, allocations: 7.938 kB / 446.8 MB, free: 6.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002014/0.3002, allocations: 180.5 kB / 446.9 MB, free: 6.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3002, allocations: 0 / 446.9 MB, free: 6.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003608/0.3005, allocations: 79.89 kB / 447 MB, free: 6.648 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.0001399/0.3007, allocations: 95.25 kB / 447.1 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.3017, allocations: 447.5 kB / 447.5 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3017, allocations: 0 / 447.5 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004442/0.3022, allocations: 202.6 kB / 447.7 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.3025, allocations: 58.11 kB / 447.8 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/0.3061, allocations: 0.8727 MB / 448.7 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.3062, allocations: 142.9 kB / 448.8 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.3064, allocations: 26.28 kB / 448.8 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.956e-05/0.3064, allocations: 19.44 kB / 448.9 MB, free: 4.711 MB / 350.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3064, allocations: 0 / 448.9 MB, free: 4.711 MB / 350.1 MB Notification: Performance of Templates: time 0.009589/0.316, allocations: 4.074 MB / 452.9 MB, free: 0.6914 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins/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.773814653977752]