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.001257/0.001257, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001766/0.003023, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001082/0.001082, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001416/0.002498, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 1.01/1.01, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08944/1.1, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.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.363e-06/1.363e-06, allocations: 0 / 245.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.389e-05/1.525e-05, allocations: 5.406 kB / 245.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.002782/0.002798, allocations: 2.998 MB / 248.2 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.003829, allocations: 0.7593 MB / 249 MB, free: 9.727 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.003947, allocations: 11.94 kB / 249 MB, free: 9.715 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.286e-05/0.00404, allocations: 47.5 kB / 249.1 MB, free: 9.668 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.004179, allocations: 107.1 kB / 249.2 MB, free: 9.562 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.00434, allocations: 111.7 kB / 249.3 MB, free: 9.453 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.004647, allocations: 422.2 kB / 249.7 MB, free: 9.039 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.004803, allocations: 94.27 kB / 249.8 MB, free: 8.945 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.005045, allocations: 268 kB / 250 MB, free: 8.684 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.005199, allocations: 143.6 kB / 250.2 MB, free: 8.543 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.093e-05/0.00525, allocations: 40 kB / 250.2 MB, free: 8.504 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.126e-05/0.005291, allocations: 44 kB / 250.3 MB, free: 8.461 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.722e-05/0.005338, allocations: 63.8 kB / 250.3 MB, free: 8.398 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.539e-05/0.005424, allocations: 99.81 kB / 250.4 MB, free: 8.301 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.005675, allocations: 243.1 kB / 250.7 MB, free: 8.062 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/0.005685, allocations: 0 / 250.7 MB, free: 8.062 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005686, allocations: 0 / 250.7 MB, free: 8.062 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.005696, allocations: 4 kB / 250.7 MB, free: 8.059 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001018/0.006714, allocations: 0.627 MB / 251.3 MB, free: 7.398 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.006751, allocations: 12.03 kB / 251.3 MB, free: 7.387 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.254e-05/0.006824, allocations: 44.89 kB / 251.3 MB, free: 7.344 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.007083, allocations: 189.3 kB / 251.5 MB, free: 7.133 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.007105, allocations: 21.03 kB / 251.6 MB, free: 7.113 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.007139, allocations: 32.38 kB / 251.6 MB, free: 7.082 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.007454, allocations: 276.4 kB / 251.9 MB, free: 6.781 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.007465, allocations: 192 / 251.9 MB, free: 6.781 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.007486, allocations: 12.38 kB / 251.9 MB, free: 6.77 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.007497, allocations: 11.94 kB / 251.9 MB, free: 6.758 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.646e-05/0.007593, allocations: 68.56 kB / 251.9 MB, free: 6.695 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008755/0.008469, allocations: 0.7518 MB / 252.7 MB, free: 5.891 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.008647, allocations: 102.4 kB / 252.8 MB, free: 5.781 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.854e-05/0.008686, allocations: 32.84 kB / 252.8 MB, free: 5.746 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.008704, allocations: 0 / 252.8 MB, free: 5.746 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.008886, allocations: 208.1 kB / 253 MB, free: 5.5 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 9.62e-07/0.008887, allocations: 0 / 253 MB, free: 5.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004971/0.009384, allocations: 229.6 kB / 253.3 MB, free: 5.27 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.009414, allocations: 55.39 kB / 253.3 MB, free: 5.203 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.009582, allocations: 244.9 kB / 253.6 MB, free: 4.953 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.009606, allocations: 37.62 kB / 253.6 MB, free: 4.91 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.13e-05/0.009697, allocations: 188.4 kB / 253.8 MB, free: 4.723 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.009732, allocations: 59.52 kB / 253.8 MB, free: 4.664 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.009795, allocations: 49.69 kB / 253.9 MB, free: 4.609 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.009897, allocations: 342.8 kB / 254.2 MB, free: 4.266 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.24e-05/0.00995, allocations: 49.69 kB / 254.3 MB, free: 4.211 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.01008, allocations: 231.6 kB / 254.5 MB, free: 3.914 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.01024, allocations: 199.6 kB / 254.7 MB, free: 3.676 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01024, allocations: 0 / 254.7 MB, free: 3.676 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002992/0.01054, allocations: 269 kB / 254.9 MB, free: 3.395 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.515e-05/0.01058, allocations: 33.7 kB / 255 MB, free: 3.355 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.01059, allocations: 4 kB / 255 MB, free: 3.352 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002795/0.01087, allocations: 76.77 kB / 255.1 MB, free: 3.273 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.01098, allocations: 55.94 kB / 255.1 MB, free: 3.219 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.01209, allocations: 1.545 MB / 256.7 MB, free: 1.582 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.01222, allocations: 47.86 kB / 256.7 MB, free: 1.535 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.01223, allocations: 12 kB / 256.7 MB, free: 1.523 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: 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 8.592e-05/0.01232, allocations: 129.7 kB / 256.8 MB, free: 1.387 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.01234, allocations: 23.91 kB / 256.9 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.01237, allocations: 26.11 kB / 256.9 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01237, allocations: 4 kB / 256.9 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.01237, allocations: 0 / 256.9 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01237, allocations: 0 / 256.9 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.01249, allocations: 149.8 kB / 257 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.0125, allocations: 4 kB / 257 MB, free: 1.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.693e-05/0.01254, allocations: 19.98 kB / 257.1 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.32e-05/0.01257, allocations: 23.8 kB / 257.1 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001838/0.01275, allocations: 76.7 kB / 257.2 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.01276, allocations: 8 kB / 257.2 MB, free: 1.039 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.01378, allocations: 1.518 MB / 258.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01378, allocations: 0 / 258.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.01396, allocations: 169.7 kB / 258.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.01398, allocations: 4 kB / 258.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.01405, allocations: 19.98 kB / 258.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.0141, allocations: 27.95 kB / 258.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.01411, allocations: 0 / 258.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.087e-05/0.01417, allocations: 86.77 kB / 259 MB, free: 15.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01417, allocations: 0 / 259 MB, free: 15.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002248/0.01439, allocations: 91.78 kB / 259.1 MB, free: 15.02 MB / 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 0.0001002/0.01449, allocations: 88.3 kB / 259.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003405/0.01483, allocations: 331.3 kB / 259.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/0.01485, allocations: 4 kB / 259.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.015, allocations: 192.3 kB / 259.7 MB, free: 14.37 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.01532, allocations: 475.1 kB / 260.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.017, allocations: 0.5359 MB / 260.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.799e-05/0.01705, allocations: 88.62 kB / 260.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.42e-05/0.01712, allocations: 30.27 kB / 260.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.01726, allocations: 103.3 kB / 260.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of SimCode: time 1.263e-06/0.01726, allocations: 0 / 260.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of Templates: time 0.006481/0.02374, allocations: 4.88 MB / 265.8 MB, free: 8.188 MB / 266.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6687452029436827]