Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001348/0.001348, allocations: 80.31 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001526/0.001526, allocations: 167 kB / 25.61 MB, free: 8.602 MB / 18.57 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.9611/0.9611, allocations: 177.1 MB / 206 MB, free: 4.473 MB / 186.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.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 274.2 MB, free: 4.359 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.292e-05/1.408e-05, allocations: 6.312 kB / 274.2 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.002503/0.002517, allocations: 2.913 MB / 277.1 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007958/0.003313, allocations: 0.7528 MB / 277.9 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.871e-05/0.003412, allocations: 11.88 kB / 277.9 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.003529, allocations: 47.5 kB / 278 MB, free: 0.625 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.003653, allocations: 108.9 kB / 278.1 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.003848, allocations: 120.3 kB / 278.2 MB, free: 412 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002827/0.00413, allocations: 430.8 kB / 278.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.004274, allocations: 88.27 kB / 278.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.004445, allocations: 231.5 kB / 278.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.004578, allocations: 143.6 kB / 279.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.852e-05/0.004616, allocations: 40 kB / 279.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.275e-05/0.004649, allocations: 40 kB / 279.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.004696, allocations: 79.69 kB / 279.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.062e-05/0.004776, allocations: 127.7 kB / 279.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.004983, allocations: 259.1 kB / 279.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.004985, allocations: 3.938 kB / 279.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.004985, allocations: 0 / 279.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.004989, allocations: 0 / 279.6 MB, free: 14.98 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0006376/0.005627, allocations: 0.6895 MB / 280.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.562e-05/0.005652, allocations: 8.031 kB / 280.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.185e-05/0.005714, allocations: 56.7 kB / 280.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.005911, allocations: 236 kB / 280.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.005926, allocations: 24.88 kB / 280.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.005951, allocations: 24.38 kB / 280.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.006227, allocations: 293 kB / 280.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.006235, allocations: 192 / 280.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.006252, allocations: 8.375 kB / 280.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.006258, allocations: 11.94 kB / 280.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.906e-05/0.006357, allocations: 79.42 kB / 281 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008695/0.007226, allocations: 1.029 MB / 282 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.007422, allocations: 119.1 kB / 282.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.837e-05/0.007461, allocations: 31.66 kB / 282.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.007474, allocations: 4 kB / 282.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.007608, allocations: 183.4 kB / 282.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.007609, allocations: 3.938 kB / 282.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005711/0.00818, allocations: 300.9 kB / 282.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.008218, allocations: 106.8 kB / 282.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.008371, allocations: 304.1 kB / 283.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.008387, allocations: 25.7 kB / 283.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.211e-05/0.008479, allocations: 250.7 kB / 283.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.008504, allocations: 47.62 kB / 283.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-05/0.008562, allocations: 59.56 kB / 283.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.008669, allocations: 0.5001 MB / 283.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.884e-05/0.008718, allocations: 53.91 kB / 284 MB, free: 10.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.008833, allocations: 253.6 kB / 284.2 MB, free: 9.941 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.00897, allocations: 223.5 kB / 284.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.008972, allocations: 0 / 284.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003233/0.009295, allocations: 316.3 kB / 284.8 MB, free: 9.332 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.009322, allocations: 33.7 kB / 284.8 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.009327, allocations: 4 kB / 284.8 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002061/0.009534, allocations: 91.61 kB / 284.9 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.057e-05/0.009624, allocations: 43.97 kB / 284.9 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.01066, allocations: 2.149 MB / 287.1 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.01079, allocations: 43.77 kB / 287.1 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.0108, allocations: 11.98 kB / 287.1 MB, free: 6.832 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (24): * Single equations (assignments): 22 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 8.601e-05/0.01088, allocations: 176.5 kB / 287.3 MB, free: 6.648 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.01091, allocations: 31.8 kB / 287.3 MB, free: 6.617 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.01094, allocations: 25.77 kB / 287.4 MB, free: 6.586 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01094, allocations: 4.219 kB / 287.4 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.02e-07/0.01094, allocations: 48 / 287.4 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.01094, allocations: 7.922 kB / 287.4 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.01106, allocations: 185 kB / 287.6 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01106, allocations: 128 / 287.6 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.354e-05/0.0111, allocations: 19.98 kB / 287.6 MB, free: 6.348 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001528/0.01125, allocations: 71.64 kB / 287.7 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.01126, allocations: 3.984 kB / 287.7 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008727/0.01213, allocations: 2.099 MB / 289.8 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01214, allocations: 7.922 kB / 289.8 MB, free: 4.051 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.01235, allocations: 211.1 kB / 290 MB, free: 3.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.01238, allocations: 19.86 kB / 290 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.0124, allocations: 11.92 kB / 290 MB, free: 3.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-05/0.01248, allocations: 24.11 kB / 290 MB, free: 3.766 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.01252, allocations: 15.97 kB / 290 MB, free: 3.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.01252, allocations: 4 kB / 290 MB, free: 3.746 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.605e-05/0.01261, allocations: 209.1 kB / 290.2 MB, free: 3.543 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01261, allocations: 0 / 290.2 MB, free: 3.543 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002382/0.01285, allocations: 83.78 kB / 290.3 MB, free: 3.461 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: 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 (9): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 6.395e-05/0.01291, allocations: 103.2 kB / 290.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003649/0.01328, allocations: 406 kB / 290.8 MB, free: 2.918 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01328, allocations: 4.25 kB / 290.8 MB, free: 2.914 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.01341, allocations: 237.3 kB / 291.1 MB, free: 2.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.01359, allocations: 48.44 kB / 291.1 MB, free: 2.613 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.01472, allocations: 0.7017 MB / 291.8 MB, free: 1.883 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.316e-05/0.01477, allocations: 88.27 kB / 291.9 MB, free: 1.777 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.13e-05/0.01483, allocations: 22.3 kB / 291.9 MB, free: 1.754 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.01494, allocations: 118.2 kB / 292 MB, free: 1.637 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01494, allocations: 0 / 292 MB, free: 1.637 MB / 266.7 MB Notification: Performance of Templates: time 0.005539/0.02048, allocations: 4.541 MB / 296.6 MB, free: 13.17 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.67994697811082]