Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008989/0.0008989, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001021/0.001021, allocations: 167.6 kB / 24.82 MB, free: 9.301 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9688/0.9688, allocations: 177 MB / 205.1 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.048e-05, allocations: 2.312 kB / 273.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.006616/0.006636, allocations: 2.934 MB / 276.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004184/0.01082, allocations: 0.7322 MB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.01095, allocations: 4 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.01108, allocations: 47.5 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.01123, allocations: 115 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.01146, allocations: 107.8 kB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002999/0.01176, allocations: 426.1 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.01191, allocations: 83.67 kB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.01211, allocations: 243.4 kB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.01225, allocations: 139.6 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.423e-05/0.0123, allocations: 40 kB / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.475e-05/0.01235, allocations: 40 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.079e-05/0.01242, allocations: 79.69 kB / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.01255, allocations: 131.7 kB / 278.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.01287, allocations: 263.1 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.01288, allocations: 0 / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.01288, allocations: 0 / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.01288, allocations: 0 / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009303/0.01381, allocations: 0.6934 MB / 279.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.01386, allocations: 11.98 kB / 279.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.431e-05/0.01395, allocations: 56.75 kB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.01426, allocations: 244 kB / 279.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.01428, allocations: 25.03 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.01432, allocations: 24.38 kB / 279.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003697/0.01469, allocations: 276.4 kB / 280 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.0147, allocations: 192 / 280 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.01472, allocations: 8.375 kB / 280 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.01473, allocations: 15.88 kB / 280.1 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.0149, allocations: 80.52 kB / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.01615, allocations: 0.9558 MB / 281.1 MB, free: 9.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.01635, allocations: 103.2 kB / 281.2 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.197e-05/0.01642, allocations: 39.67 kB / 281.2 MB, free: 9.094 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.01643, allocations: 8 kB / 281.2 MB, free: 9.086 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002222/0.01666, allocations: 217 kB / 281.5 MB, free: 8.824 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.01666, allocations: 0 / 281.5 MB, free: 8.824 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007357/0.01739, allocations: 276 kB / 281.7 MB, free: 8.547 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.01745, allocations: 128.5 kB / 281.9 MB, free: 8.391 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.01769, allocations: 304.1 kB / 282.1 MB, free: 8.074 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.01772, allocations: 29.7 kB / 282.2 MB, free: 8.039 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.01785, allocations: 254.7 kB / 282.4 MB, free: 7.785 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.0179, allocations: 55.52 kB / 282.5 MB, free: 7.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.783e-05/0.01798, allocations: 63.34 kB / 282.5 MB, free: 7.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.01813, allocations: 0.504 MB / 283 MB, free: 7.145 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.582e-05/0.0182, allocations: 53.67 kB / 283.1 MB, free: 7.086 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.01838, allocations: 293.9 kB / 283.4 MB, free: 6.711 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.01857, allocations: 213 kB / 283.6 MB, free: 6.449 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01857, allocations: 3.938 kB / 283.6 MB, free: 6.445 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004215/0.019, allocations: 308.5 kB / 283.9 MB, free: 6.121 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.01903, allocations: 37.7 kB / 283.9 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.01903, allocations: 7.938 kB / 283.9 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003021/0.01934, allocations: 79.64 kB / 284 MB, free: 5.988 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.01947, allocations: 43.91 kB / 284.1 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/0.021, allocations: 2.202 MB / 286.3 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.02119, allocations: 55.78 kB / 286.3 MB, free: 3.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.02121, allocations: 8 kB / 286.3 MB, free: 3.562 MB / 266.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: 7 (buffer.opAmp.satNeg,buffer.opAmp.satPos,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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.02132, allocations: 172.5 kB / 286.5 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.02136, allocations: 35.8 kB / 286.5 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.02139, allocations: 26.11 kB / 286.6 MB, free: 3.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.0214, allocations: 4 kB / 286.6 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.0214, allocations: 0 / 286.6 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.0214, allocations: 0 / 286.6 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.02157, allocations: 189 kB / 286.7 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.02157, allocations: 0 / 286.7 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.923e-05/0.02164, allocations: 23.92 kB / 286.8 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000258/0.0219, allocations: 79.55 kB / 286.8 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.02191, allocations: 7.984 kB / 286.9 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/0.02305, allocations: 2.187 MB / 289 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.02305, allocations: 0 / 289 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.02327, allocations: 223.7 kB / 289.3 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.213e-05/0.02329, allocations: 19.8 kB / 289.3 MB, free: 436 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.02331, allocations: 8 kB / 289.3 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.616e-05/0.0234, allocations: 27.97 kB / 289.3 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.02345, allocations: 19.95 kB / 289.3 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.02345, allocations: 4 kB / 289.3 MB, free: 376 kB / 266.7 MB Notification: Performance of sorting global known variables: time 8.606e-05/0.02354, allocations: 201.1 kB / 289.5 MB, free: 176 kB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02354, allocations: 0 / 289.5 MB, free: 176 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002491/0.02379, allocations: 87.84 kB / 289.6 MB, free: 88 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,buffer.opAmp.satPos,buffer.opAmp.satNeg) * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 9.559e-05/0.02388, allocations: 107.2 kB / 289.7 MB, free: 15.97 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003232/0.02421, allocations: 389.3 kB / 290.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.02421, allocations: 0 / 290.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.02437, allocations: 250 kB / 290.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.02462, allocations: 67.55 kB / 290.4 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.02585, allocations: 0.5058 MB / 290.9 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.467e-05/0.02591, allocations: 92.31 kB / 291 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.02603, allocations: 26.28 kB / 291 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.02622, allocations: 130.2 kB / 291.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02622, allocations: 0 / 291.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of Templates: time 0.007645/0.03386, allocations: 4.71 MB / 295.9 MB, free: 9.785 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.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.8747598831541836]