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.001071/0.001071, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001615/0.002686, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001103/0.001103, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001384/0.002487, allocations: 455.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9612/0.9612, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08325/1.044, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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 1.703e-06/1.703e-06, allocations: 0 / 244.6 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.625e-05, allocations: 6.25 kB / 244.6 MB, free: 14.28 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004067/0.004093, allocations: 2.913 MB / 247.5 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.005652, allocations: 0.7554 MB / 248.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002252/0.005877, allocations: 7.938 kB / 248.2 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.00602, allocations: 51.5 kB / 248.3 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.006198, allocations: 111.1 kB / 248.4 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.006464, allocations: 111.8 kB / 248.5 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003456/0.00681, allocations: 402.4 kB / 248.9 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.006969, allocations: 86.3 kB / 249 MB, free: 9.824 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003154/0.007284, allocations: 271.8 kB / 249.3 MB, free: 9.559 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.007428, allocations: 131.6 kB / 249.4 MB, free: 9.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.727e-05/0.007465, allocations: 40 kB / 249.4 MB, free: 9.391 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.651e-05/0.007501, allocations: 40 kB / 249.5 MB, free: 9.352 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.27e-05/0.007544, allocations: 55.81 kB / 249.5 MB, free: 9.297 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.265e-05/0.007627, allocations: 99.81 kB / 249.6 MB, free: 9.199 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.007892, allocations: 223.2 kB / 249.8 MB, free: 8.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.64e-05/0.007908, allocations: 4 kB / 249.8 MB, free: 8.977 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.00791, allocations: 0 / 249.8 MB, free: 8.977 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.007923, allocations: 0 / 249.8 MB, free: 8.977 MB / 250.7 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.0007405/0.008663, allocations: 0.6027 MB / 250.4 MB, free: 8.344 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.702e-05/0.00869, allocations: 12.03 kB / 250.5 MB, free: 8.332 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.042e-05/0.008751, allocations: 40.84 kB / 250.5 MB, free: 8.293 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.008947, allocations: 182.3 kB / 250.7 MB, free: 8.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.008963, allocations: 16.88 kB / 250.7 MB, free: 8.074 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.008996, allocations: 24.38 kB / 250.7 MB, free: 8.051 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.009296, allocations: 261.6 kB / 251 MB, free: 7.773 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.009307, allocations: 4.125 kB / 251 MB, free: 7.77 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.009325, allocations: 12.38 kB / 251 MB, free: 7.758 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.009335, allocations: 7.938 kB / 251 MB, free: 7.75 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.009436, allocations: 67.47 kB / 251.1 MB, free: 7.688 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008452/0.01028, allocations: 0.8255 MB / 251.9 MB, free: 6.805 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.01048, allocations: 94.45 kB / 252 MB, free: 6.703 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.416e-05/0.01052, allocations: 28.84 kB / 252 MB, free: 6.672 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.01054, allocations: 0 / 252 MB, free: 6.672 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.01068, allocations: 130.7 kB / 252.1 MB, free: 6.52 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 4.328e-06/0.01069, allocations: 0 / 252.1 MB, free: 6.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004102/0.0111, allocations: 214.3 kB / 252.3 MB, free: 6.301 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.01112, allocations: 55.41 kB / 252.4 MB, free: 6.234 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.01125, allocations: 236.9 kB / 252.6 MB, free: 5.992 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.01126, allocations: 29.7 kB / 252.7 MB, free: 5.957 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.354e-05/0.01134, allocations: 191.9 kB / 252.8 MB, free: 5.762 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.01136, allocations: 35.7 kB / 252.9 MB, free: 5.727 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.01141, allocations: 57.61 kB / 252.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.457e-05/0.01149, allocations: 330.7 kB / 253.3 MB, free: 5.332 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.381e-05/0.01153, allocations: 49.92 kB / 253.3 MB, free: 5.273 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.34e-05/0.01161, allocations: 163 kB / 253.5 MB, free: 5.062 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.01174, allocations: 171.5 kB / 253.6 MB, free: 4.855 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.01174, allocations: 4 kB / 253.6 MB, free: 4.852 MB / 250.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002322/0.01197, allocations: 241.6 kB / 253.9 MB, free: 4.594 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.012, allocations: 41.62 kB / 253.9 MB, free: 4.547 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01201, allocations: 0 / 253.9 MB, free: 4.547 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001486/0.01216, allocations: 49.19 kB / 254 MB, free: 4.496 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.01229, allocations: 63.89 kB / 254 MB, free: 4.434 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006909/0.01298, allocations: 1.206 MB / 255.2 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.01309, allocations: 35.86 kB / 255.3 MB, free: 3.105 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.0131, allocations: 12 kB / 255.3 MB, free: 3.094 MB / 250.7 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 7.135e-05/0.01318, allocations: 125.8 kB / 255.4 MB, free: 2.961 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.01319, allocations: 11.98 kB / 255.4 MB, free: 2.949 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.01322, allocations: 33.7 kB / 255.4 MB, free: 2.918 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.01322, allocations: 3.938 kB / 255.4 MB, free: 2.914 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.01322, allocations: 0 / 255.4 MB, free: 2.914 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01323, allocations: 0 / 255.4 MB, free: 2.914 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.01336, allocations: 149.7 kB / 255.6 MB, free: 2.75 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.01336, allocations: 4 kB / 255.6 MB, free: 2.746 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.635e-05/0.01346, allocations: 27.97 kB / 255.6 MB, free: 2.719 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.234e-05/0.01348, allocations: 23.86 kB / 255.6 MB, free: 2.695 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001055/0.01359, allocations: 40.83 kB / 255.7 MB, free: 2.652 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.0136, allocations: 11.94 kB / 255.7 MB, free: 2.641 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005114/0.01411, allocations: 1.194 MB / 256.9 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01411, allocations: 0 / 256.9 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.0143, allocations: 174.1 kB / 257.1 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.01432, allocations: 8.156 kB / 257.1 MB, free: 1.164 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.01439, allocations: 23.97 kB / 257.1 MB, free: 1.141 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.01443, allocations: 15.97 kB / 257.1 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.01444, allocations: 4 kB / 257.1 MB, free: 1.121 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.565e-05/0.0145, allocations: 78.77 kB / 257.2 MB, free: 1.039 MB / 250.7 MB Notification: Performance of sort global known variables: time 2e-08/0.0145, allocations: 3.938 kB / 257.2 MB, free: 1.035 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002008/0.0147, allocations: 67.89 kB / 257.3 MB, free: 0.9688 MB / 250.7 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 9.286e-05/0.01479, allocations: 84.3 kB / 257.3 MB, free: 0.875 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002791/0.01507, allocations: 303.5 kB / 257.6 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.01508, allocations: 0 / 257.6 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.034e-05/0.01517, allocations: 147.5 kB / 257.8 MB, free: 396 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.01533, allocations: 64.02 kB / 257.8 MB, free: 336 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.01722, allocations: 0.6259 MB / 258.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.871e-05/0.01726, allocations: 76.33 kB / 258.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.74e-05/0.01732, allocations: 26.28 kB / 258.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.01743, allocations: 99.34 kB / 258.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01743, allocations: 4 kB / 258.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of Templates: time 0.005337/0.02277, allocations: 4.093 MB / 262.8 MB, free: 11.43 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.541209497489035]