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.001939/0.001939, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001564/0.001564, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.001613/0.001613, allocations: 51.86 kB / 378.3 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2667, allocations: 53.35 MB / 431.7 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004809/0.2715, allocations: 2.918 MB / 434.6 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.2731, allocations: 0.7634 MB / 435.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.2732, allocations: 4 kB / 435.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.2734, allocations: 51.5 kB / 435.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002077/0.2736, allocations: 103.2 kB / 435.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.2739, allocations: 115.8 kB / 435.6 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004449/0.2744, allocations: 390.5 kB / 436 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.2746, allocations: 91.66 kB / 436.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002941/0.2749, allocations: 159.4 kB / 436.2 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.2751, allocations: 167.2 kB / 436.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.33e-05/0.2751, allocations: 44 kB / 436.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.526e-05/0.2752, allocations: 36 kB / 436.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.083e-05/0.2753, allocations: 75.77 kB / 436.5 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.2754, allocations: 167.2 kB / 436.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004764/0.2759, allocations: 431.6 kB / 437.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2759, allocations: 0 / 437.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2759, allocations: 0 / 437.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.2759, allocations: 0 / 437.1 MB, free: 1.422 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.001287/0.2772, allocations: 0.5887 MB / 437.7 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.2773, allocations: 12.03 kB / 437.7 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.849e-05/0.2773, allocations: 32.75 kB / 437.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.2778, allocations: 238.9 kB / 438 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.2778, allocations: 20.81 kB / 438 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.2778, allocations: 28.36 kB / 438 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007202/0.2786, allocations: 315 kB / 438.3 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.2786, allocations: 0 / 438.3 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.2786, allocations: 12 kB / 438.4 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2786, allocations: 4 kB / 438.4 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008275/0.2794, allocations: 273.8 kB / 438.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.2816, allocations: 1.13 MB / 439.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008776/0.2825, allocations: 238.5 kB / 440 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/0.2828, allocations: 96.8 kB / 440.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.2828, allocations: 7.984 kB / 440.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004632/0.2833, allocations: 165 kB / 440.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.2833, allocations: 4 kB / 440.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002059/0.2853, allocations: 0.5178 MB / 440.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.2854, allocations: 81.05 kB / 440.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.2857, allocations: 261.9 kB / 441.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.2858, allocations: 29.7 kB / 441.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.2859, allocations: 200 kB / 441.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.617e-05/0.286, allocations: 47.62 kB / 441.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.976e-05/0.2861, allocations: 45.7 kB / 441.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2862, allocations: 338.8 kB / 441.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003572/0.2866, allocations: 104.1 kB / 441.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004182/0.287, allocations: 191.5 kB / 442 MB, free: 12.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007106/0.2877, allocations: 302.3 kB / 442.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.2877, allocations: 0 / 442.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001199/0.2889, allocations: 447.8 kB / 442.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.419e-05/0.2889, allocations: 37.64 kB / 442.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.289, allocations: 0 / 442.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00033/0.2893, allocations: 68.88 kB / 442.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.2895, allocations: 59.89 kB / 442.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002433/0.292, allocations: 1.537 MB / 444.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003282/0.2923, allocations: 51.75 kB / 444.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.2923, allocations: 11.98 kB / 444.5 MB, free: 9.531 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.0001792/0.2925, allocations: 153.9 kB / 444.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.2925, allocations: 19.86 kB / 444.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.29e-05/0.2926, allocations: 33.7 kB / 444.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2926, allocations: 0 / 444.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.2926, allocations: 0 / 444.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2926, allocations: 0 / 444.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.2929, allocations: 280.5 kB / 445 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2929, allocations: 0 / 445 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.2931, allocations: 35.95 kB / 445.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002329/0.2933, allocations: 60.83 kB / 445.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.2933, allocations: 7.984 kB / 445.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/0.2954, allocations: 1.533 MB / 446.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2954, allocations: 0 / 446.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.2968, allocations: 460.7 kB / 447.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.2968, allocations: 23.89 kB / 447.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.2969, allocations: 0 / 447.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.2971, allocations: 36.02 kB / 447.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.083e-05/0.2972, allocations: 19.97 kB / 447.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.2972, allocations: 4 kB / 447.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002364/0.2974, allocations: 189.2 kB / 447.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2974, allocations: 0 / 447.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003846/0.2978, allocations: 67.89 kB / 447.4 MB, free: 6.445 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.0001538/0.298, allocations: 111.2 kB / 447.5 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.299, allocations: 405.9 kB / 447.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.299, allocations: 0 / 447.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004437/0.2995, allocations: 206.6 kB / 448.1 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.2998, allocations: 55.86 kB / 448.2 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/0.3032, allocations: 0.8689 MB / 449.1 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.3037, allocations: 0.7518 MB / 449.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001344/0.3038, allocations: 30.27 kB / 449.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.414e-05/0.3039, allocations: 23.38 kB / 449.9 MB, free: 3.914 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3039, allocations: 0 / 449.9 MB, free: 3.914 MB / 350.1 MB Notification: Performance of Templates: time 0.008268/0.3122, allocations: 3.872 MB / 453.7 MB, free: 84 kB / 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.732115423073992]