Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.001637/0.001637, allocations: 84.84 kB / 21.43 MB, free: 296 kB / 14.72 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.001853/0.001853, allocations: 160.9 kB / 24.7 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 158.6 MB / 186.5 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 299 MB, free: 8.699 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.339e-05, allocations: 2.281 kB / 299 MB, free: 8.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.004499/0.004532, allocations: 2.544 MB / 301.5 MB, free: 6.129 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.006174, allocations: 0.6864 MB / 302.2 MB, free: 5.434 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002913/0.006465, allocations: 7.938 kB / 302.2 MB, free: 5.426 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.006704, allocations: 43.58 kB / 302.3 MB, free: 5.383 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003942/0.007098, allocations: 95.19 kB / 302.4 MB, free: 5.289 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.007532, allocations: 95.8 kB / 302.4 MB, free: 5.195 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005615/0.008093, allocations: 374.3 kB / 302.8 MB, free: 4.828 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.008282, allocations: 52.91 kB / 302.9 MB, free: 4.781 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/0.008582, allocations: 191.6 kB / 303.1 MB, free: 4.594 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.00877, allocations: 115.5 kB / 303.2 MB, free: 4.48 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.284e-05/0.008833, allocations: 32 kB / 303.2 MB, free: 4.449 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.94e-05/0.008902, allocations: 28 kB / 303.2 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.652e-05/0.008979, allocations: 67.75 kB / 303.3 MB, free: 4.355 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.009113, allocations: 103.7 kB / 303.4 MB, free: 4.254 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004513/0.009564, allocations: 334.9 kB / 303.7 MB, free: 3.926 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.00957, allocations: 3.984 kB / 303.7 MB, free: 3.922 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.009571, allocations: 0 / 303.7 MB, free: 3.922 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.009588, allocations: 4 kB / 303.7 MB, free: 3.918 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001375/0.01096, allocations: 0.5663 MB / 304.3 MB, free: 3.316 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.011, allocations: 15.98 kB / 304.3 MB, free: 3.301 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.208e-05/0.0111, allocations: 36.73 kB / 304.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005846/0.01168, allocations: 213 kB / 304.5 MB, free: 3.031 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.01171, allocations: 20.88 kB / 304.6 MB, free: 3.012 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.338e-05/0.01177, allocations: 20.36 kB / 304.6 MB, free: 2.992 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007563/0.01253, allocations: 307.9 kB / 304.9 MB, free: 2.672 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.01254, allocations: 192 / 304.9 MB, free: 2.672 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.01257, allocations: 4.375 kB / 304.9 MB, free: 2.668 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.01258, allocations: 11.94 kB / 304.9 MB, free: 2.656 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008105/0.01339, allocations: 253.8 kB / 305.2 MB, free: 2.41 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.01493, allocations: 0.7197 MB / 305.9 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007959/0.01573, allocations: 218.5 kB / 306.1 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.01604, allocations: 92.78 kB / 306.2 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.01606, allocations: 4 kB / 306.2 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005245/0.01659, allocations: 229.3 kB / 306.4 MB, free: 1.062 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.01659, allocations: 0 / 306.4 MB, free: 1.062 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.00215/0.01874, allocations: 0.5135 MB / 306.9 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.287e-05/0.01882, allocations: 106.8 kB / 307 MB, free: 420 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.01913, allocations: 257.8 kB / 307.3 MB, free: 148 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.01916, allocations: 29.7 kB / 307.3 MB, free: 112 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.01932, allocations: 180.2 kB / 307.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.752e-05/0.01936, allocations: 43.64 kB / 307.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.895e-05/0.01946, allocations: 53.59 kB / 307.6 MB, free: 15.83 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.01964, allocations: 338.8 kB / 307.9 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.02001, allocations: 134.4 kB / 308 MB, free: 15.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004364/0.02044, allocations: 246.5 kB / 308.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006914/0.02113, allocations: 271.7 kB / 308.5 MB, free: 14.76 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.02114, allocations: 3.938 kB / 308.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001255/0.02239, allocations: 457.4 kB / 309 MB, free: 14.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.748e-05/0.02244, allocations: 44.61 kB / 309 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.02245, allocations: 4 kB / 309 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005216/0.02297, allocations: 108.8 kB / 309.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.02318, allocations: 35.97 kB / 309.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002535/0.02571, allocations: 1.793 MB / 311 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.02604, allocations: 51.84 kB / 311 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.02606, allocations: 8 kB / 311 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003917/0.02645, allocations: 209.7 kB / 311.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003949/0.02685, allocations: 238.5 kB / 311.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006037/0.02745, allocations: 253.2 kB / 311.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.02745, allocations: 0 / 311.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0008783/0.02833, allocations: 385.5 kB / 312.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.02836, allocations: 29.7 kB / 312.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.02838, allocations: 4 kB / 312.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001305/0.02851, allocations: 44.83 kB / 312.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.02871, allocations: 39.91 kB / 312.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.03028, allocations: 1.594 MB / 313.8 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.0306, allocations: 43.89 kB / 313.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.03061, allocations: 8 kB / 313.9 MB, free: 9.09 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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.0001704/0.03079, allocations: 196.2 kB / 314 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/0.03083, allocations: 27.97 kB / 314.1 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.503e-05/0.03088, allocations: 25.84 kB / 314.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.03089, allocations: 0 / 314.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.03089, allocations: 4 kB / 314.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.0309, allocations: 3.984 kB / 314.1 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.03114, allocations: 193.2 kB / 314.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.03115, allocations: 0 / 314.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.0313, allocations: 27.97 kB / 314.3 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000241/0.03154, allocations: 64.8 kB / 314.4 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.03156, allocations: 11.94 kB / 314.4 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002137/0.0337, allocations: 1.723 MB / 316.1 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.0337, allocations: 7.938 kB / 316.1 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009637/0.03466, allocations: 326 kB / 316.4 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.03471, allocations: 27.78 kB / 316.5 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.03474, allocations: 4 kB / 316.5 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.03498, allocations: 31.91 kB / 316.5 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.03506, allocations: 23.97 kB / 316.5 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.03508, allocations: 3.984 kB / 316.5 MB, free: 6.242 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002052/0.03528, allocations: 185.2 kB / 316.7 MB, free: 6.062 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.03528, allocations: 0 / 316.7 MB, free: 6.062 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006031/0.03589, allocations: 123.8 kB / 316.8 MB, free: 5.941 MB / 302.1 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001421/0.03603, allocations: 99.38 kB / 316.9 MB, free: 5.836 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.03777, allocations: 0.7755 MB / 317.7 MB, free: 5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.03777, allocations: 0 / 317.7 MB, free: 5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005157/0.03828, allocations: 238.5 kB / 317.9 MB, free: 4.754 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.03862, allocations: 56.72 kB / 318 MB, free: 4.699 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.04077, allocations: 0.6667 MB / 318.7 MB, free: 4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.04092, allocations: 142.5 kB / 318.8 MB, free: 3.844 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.04104, allocations: 22.28 kB / 318.8 MB, free: 3.824 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/0.04111, allocations: 24.44 kB / 318.9 MB, free: 3.801 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.04111, allocations: 0 / 318.9 MB, free: 3.801 MB / 302.1 MB Notification: Performance of Templates: time 0.1409/0.182, allocations: 4.249 MB / 323.1 MB, free: 34.06 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmp/NonInvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.370185244828463]