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.0007964/0.0007964, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.003485/0.003485, allocations: 157.8 kB / 24.7 MB, free: 8.891 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.8725/0.8725, allocations: 177.1 MB / 205 MB, free: 5.73 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.613e-06/1.613e-06, allocations: 0 / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.195e-05, allocations: 5.516 kB / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.002801/0.002823, allocations: 2.755 MB / 328.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00093/0.003753, allocations: 0.7478 MB / 329.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.003873, allocations: 7.938 kB / 329.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.004005, allocations: 43.56 kB / 329.4 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.004148, allocations: 115 kB / 329.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.004404, allocations: 119.8 kB / 329.7 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003386/0.004742, allocations: 430.1 kB / 330.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.00492, allocations: 91.66 kB / 330.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.005113, allocations: 227.5 kB / 330.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.005253, allocations: 127.6 kB / 330.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.662e-05/0.005299, allocations: 40 kB / 330.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.322e-05/0.005333, allocations: 40 kB / 330.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/0.005385, allocations: 83.67 kB / 330.7 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.434e-05/0.005479, allocations: 127.7 kB / 330.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003359/0.005815, allocations: 462.6 kB / 331.3 MB, free: 10 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.005818, allocations: 0 / 331.3 MB, free: 10 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.005819, allocations: 0 / 331.3 MB, free: 10 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.005826, allocations: 4 kB / 331.3 MB, free: 9.996 MB / 298.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.0008472/0.006674, allocations: 0.6046 MB / 331.9 MB, free: 9.359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.006706, allocations: 8.031 kB / 331.9 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.827e-05/0.006764, allocations: 40.7 kB / 331.9 MB, free: 9.312 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.007042, allocations: 253.1 kB / 332.2 MB, free: 9.039 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.007061, allocations: 20.81 kB / 332.2 MB, free: 9.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.007088, allocations: 28.38 kB / 332.2 MB, free: 8.992 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000444/0.007532, allocations: 370.7 kB / 332.6 MB, free: 8.605 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.007543, allocations: 8.125 kB / 332.6 MB, free: 8.598 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.007563, allocations: 8.375 kB / 332.6 MB, free: 8.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.007574, allocations: 11.94 kB / 332.6 MB, free: 8.578 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000425/0.007999, allocations: 281.8 kB / 332.9 MB, free: 8.305 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.009092, allocations: 0.9842 MB / 333.9 MB, free: 7.254 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/0.009542, allocations: 250.4 kB / 334.1 MB, free: 7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.009703, allocations: 96.78 kB / 334.2 MB, free: 6.902 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.009722, allocations: 4 kB / 334.2 MB, free: 6.898 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002721/0.009994, allocations: 229.3 kB / 334.4 MB, free: 6.641 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.009995, allocations: 4 kB / 334.4 MB, free: 6.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001156/0.01115, allocations: 0.5877 MB / 335 MB, free: 6.039 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.0112, allocations: 114.8 kB / 335.1 MB, free: 5.902 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.01139, allocations: 273.8 kB / 335.4 MB, free: 5.625 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.01141, allocations: 29.7 kB / 335.4 MB, free: 5.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.494e-05/0.0115, allocations: 200 kB / 335.6 MB, free: 5.391 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.01153, allocations: 47.64 kB / 335.7 MB, free: 5.344 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.01159, allocations: 45.94 kB / 335.7 MB, free: 5.289 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.625e-05/0.01168, allocations: 334.8 kB / 336 MB, free: 4.953 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.01186, allocations: 137.9 kB / 336.2 MB, free: 4.812 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.0121, allocations: 294.3 kB / 336.5 MB, free: 4.461 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.01247, allocations: 323.5 kB / 336.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.01248, allocations: 4 kB / 336.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00064/0.01312, allocations: 0.4936 MB / 337.3 MB, free: 3.582 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.01315, allocations: 41.69 kB / 337.3 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01315, allocations: 4 kB / 337.3 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002376/0.01339, allocations: 84.86 kB / 337.4 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.0135, allocations: 47.91 kB / 337.4 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.01508, allocations: 1.922 MB / 339.4 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.01524, allocations: 63.8 kB / 339.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.01525, allocations: 8 kB / 339.4 MB, free: 1.297 MB / 298.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 0.0001011/0.01535, allocations: 145.8 kB / 339.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.01537, allocations: 31.83 kB / 339.6 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.0154, allocations: 25.98 kB / 339.6 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.0154, allocations: 4 kB / 339.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.0154, allocations: 3.938 kB / 339.6 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01541, allocations: 4 kB / 339.7 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.01555, allocations: 217.1 kB / 339.9 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01555, allocations: 0 / 339.9 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.879e-05/0.01561, allocations: 23.97 kB / 339.9 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001532/0.01576, allocations: 96.61 kB / 340 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.01577, allocations: 4 kB / 340 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/0.01707, allocations: 1.829 MB / 341.8 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.01707, allocations: 3.938 kB / 341.8 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005173/0.01759, allocations: 365.5 kB / 342.2 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.639e-05/0.01761, allocations: 23.86 kB / 342.2 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.01763, allocations: 7.984 kB / 342.2 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.01773, allocations: 27.97 kB / 342.2 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.01779, allocations: 23.97 kB / 342.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.0178, allocations: 8 kB / 342.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001164/0.01791, allocations: 189.2 kB / 342.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01791, allocations: 0 / 342.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002565/0.01817, allocations: 87.78 kB / 342.5 MB, free: 14.04 MB / 314.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 9.355e-05/0.01826, allocations: 103.3 kB / 342.6 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006984/0.01896, allocations: 0.5188 MB / 343.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01896, allocations: 0 / 343.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002407/0.0192, allocations: 239.1 kB / 343.4 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.01941, allocations: 47.5 kB / 343.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.02095, allocations: 0.9494 MB / 344.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.972e-05/0.02104, allocations: 146.9 kB / 344.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.221e-05/0.0211, allocations: 20.5 kB / 344.5 MB, free: 11.92 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.0211, allocations: 0 / 344.5 MB, free: 11.92 MB / 314.7 MB Notification: Performance of Templates: time 0.004549/0.02565, allocations: 4.817 MB / 349.4 MB, free: 7.117 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.346981354057789]