Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.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.002014/0.002014, allocations: 88.39 kB / 21.44 MB, free: 276 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.002251/0.002251, allocations: 166.8 kB / 24.71 MB, free: 3.543 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.383/1.383, allocations: 158.6 MB / 186.5 MB, free: 6.402 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.InvertingAmp,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.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,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.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 299 MB, free: 8.684 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.752e-05, allocations: 6.281 kB / 299 MB, free: 8.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.004294/0.004321, allocations: 2.528 MB / 301.5 MB, free: 6.125 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.005847, allocations: 0.6942 MB / 302.2 MB, free: 5.422 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.005991, allocations: 4 kB / 302.2 MB, free: 5.418 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.006151, allocations: 43.52 kB / 302.3 MB, free: 5.375 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.006369, allocations: 103.2 kB / 302.4 MB, free: 5.273 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003566/0.006726, allocations: 95.8 kB / 302.5 MB, free: 5.18 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005188/0.007245, allocations: 362.4 kB / 302.8 MB, free: 4.824 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002399/0.007484, allocations: 60.83 kB / 302.9 MB, free: 4.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003061/0.007791, allocations: 191.6 kB / 303.1 MB, free: 4.582 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.008035, allocations: 119.6 kB / 303.2 MB, free: 4.465 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.69e-05/0.008102, allocations: 28 kB / 303.2 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.648e-05/0.008169, allocations: 36 kB / 303.2 MB, free: 4.402 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.059e-05/0.008259, allocations: 59.75 kB / 303.3 MB, free: 4.344 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.008446, allocations: 107.7 kB / 303.4 MB, free: 4.238 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005625/0.009008, allocations: 334.9 kB / 303.7 MB, free: 3.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.009015, allocations: 0 / 303.7 MB, free: 3.91 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.009017, allocations: 0 / 303.7 MB, free: 3.91 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.009026, allocations: 0 / 303.7 MB, free: 3.91 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.001635/0.01066, allocations: 0.5741 MB / 304.3 MB, free: 3.301 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.01071, allocations: 15.98 kB / 304.3 MB, free: 3.285 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.569e-05/0.01079, allocations: 28.75 kB / 304.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.01124, allocations: 221.1 kB / 304.6 MB, free: 3.016 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.01127, allocations: 16.88 kB / 304.6 MB, free: 3 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/0.01132, allocations: 24.38 kB / 304.6 MB, free: 2.977 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006956/0.01201, allocations: 292 kB / 304.9 MB, free: 2.672 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.01202, allocations: 192 / 304.9 MB, free: 2.672 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.01205, allocations: 12.38 kB / 304.9 MB, free: 2.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.01207, allocations: 7.938 kB / 304.9 MB, free: 2.652 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000803/0.01287, allocations: 253.8 kB / 305.2 MB, free: 2.406 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.01438, allocations: 0.7275 MB / 305.9 MB, free: 1.629 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007822/0.01516, allocations: 210.6 kB / 306.1 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005319/0.01569, allocations: 96.78 kB / 306.2 MB, free: 1.316 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.01572, allocations: 0 / 306.2 MB, free: 1.316 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005162/0.01624, allocations: 233.2 kB / 306.4 MB, free: 1.055 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.01624, allocations: 0 / 306.4 MB, free: 1.055 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.002058/0.0183, allocations: 0.5057 MB / 306.9 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.364e-05/0.01838, allocations: 110.8 kB / 307 MB, free: 416 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.01868, allocations: 249.7 kB / 307.3 MB, free: 156 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.01872, allocations: 33.7 kB / 307.3 MB, free: 116 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.01889, allocations: 176.3 kB / 307.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.01893, allocations: 43.56 kB / 307.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.65e-05/0.01902, allocations: 49.66 kB / 307.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.01919, allocations: 334.8 kB / 307.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.01955, allocations: 130.3 kB / 308 MB, free: 15.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004203/0.01997, allocations: 244.6 kB / 308.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006471/0.02061, allocations: 247.6 kB / 308.5 MB, free: 14.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.02062, allocations: 0 / 308.5 MB, free: 14.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0012/0.02182, allocations: 437.5 kB / 308.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.209e-05/0.02188, allocations: 40.55 kB / 309 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.02189, allocations: 4 kB / 309 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005188/0.02241, allocations: 116.7 kB / 309.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.02261, allocations: 35.97 kB / 309.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/0.02517, allocations: 1.751 MB / 310.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.0255, allocations: 47.92 kB / 310.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.02553, allocations: 8 kB / 310.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003967/0.02592, allocations: 205.8 kB / 311.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003846/0.02631, allocations: 232.7 kB / 311.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006532/0.02696, allocations: 223.6 kB / 311.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.02696, allocations: 0 / 311.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0009231/0.02789, allocations: 369.3 kB / 311.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.02792, allocations: 36.36 kB / 312 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.02793, allocations: 0 / 312 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001365/0.02806, allocations: 48.77 kB / 312 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.02826, allocations: 32.16 kB / 312 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/0.0299, allocations: 1.587 MB / 313.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.03021, allocations: 43.84 kB / 313.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.03024, allocations: 8.188 kB / 313.7 MB, free: 9.281 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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.0001806/0.03042, allocations: 196.3 kB / 313.9 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.03046, allocations: 23.8 kB / 313.9 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.889e-05/0.03052, allocations: 25.77 kB / 313.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.03052, allocations: 8 kB / 313.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.03052, allocations: 0 / 313.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.03053, allocations: 0 / 313.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.03081, allocations: 201.2 kB / 314.1 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.03081, allocations: 0 / 314.1 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.03096, allocations: 23.97 kB / 314.1 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002386/0.0312, allocations: 72.73 kB / 314.2 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.03122, allocations: 7.938 kB / 314.2 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/0.03335, allocations: 1.566 MB / 315.8 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.03335, allocations: 4.125 kB / 315.8 MB, free: 7.023 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.03436, allocations: 322.1 kB / 316.1 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.933e-05/0.03441, allocations: 27.84 kB / 316.1 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.03444, allocations: 7.938 kB / 316.1 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.03468, allocations: 31.97 kB / 316.2 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.94e-05/0.03478, allocations: 23.95 kB / 316.2 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.0348, allocations: 4 kB / 316.2 MB, free: 6.594 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002029/0.035, allocations: 181.2 kB / 316.4 MB, free: 6.418 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.035, allocations: 0 / 316.4 MB, free: 6.418 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005693/0.03557, allocations: 127.7 kB / 316.5 MB, free: 6.293 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.0001463/0.03571, allocations: 103.2 kB / 316.6 MB, free: 6.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.0373, allocations: 0.7263 MB / 317.3 MB, free: 5.391 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.0373, allocations: 4.062 kB / 317.3 MB, free: 5.387 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005209/0.03782, allocations: 230.6 kB / 317.6 MB, free: 5.148 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.03816, allocations: 40.42 kB / 317.6 MB, free: 5.109 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.03921, allocations: 430.4 kB / 318 MB, free: 4.664 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.03935, allocations: 142.5 kB / 318.2 MB, free: 4.504 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.03946, allocations: 25.94 kB / 318.2 MB, free: 4.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.177e-05/0.03953, allocations: 16.5 kB / 318.2 MB, free: 4.465 MB / 302.1 MB Notification: Performance of SimCode: time 7.71e-07/0.03953, allocations: 0 / 318.2 MB, free: 4.465 MB / 302.1 MB Notification: Performance of Templates: time 0.009696/0.04922, allocations: 4.263 MB / 322.5 MB, free: 208 kB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.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.5083380825817585]