Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 81.81 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 153.7 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 173.3 MB / 200.4 MB, free: 12.9 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 319 MB, free: 3.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.763e-05, allocations: 2.281 kB / 319 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.003805/0.003833, allocations: 2.735 MB / 321.7 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.00504, allocations: 0.6975 MB / 322.4 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001739/0.005214, allocations: 13.31 kB / 322.4 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.00539, allocations: 50.61 kB / 322.5 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.005598, allocations: 111.3 kB / 322.6 MB, free: 1.102 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.005951, allocations: 116.2 kB / 322.7 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004905/0.006442, allocations: 428.2 kB / 323.1 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002199/0.006661, allocations: 81.08 kB / 323.2 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002956/0.006957, allocations: 241.3 kB / 323.4 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.007169, allocations: 128 kB / 323.5 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.185e-05/0.00724, allocations: 40.56 kB / 323.6 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.791e-05/0.007308, allocations: 39.72 kB / 323.6 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.822e-05/0.007386, allocations: 82.52 kB / 323.7 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.007543, allocations: 121.1 kB / 323.8 MB, free: 492 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005292/0.008072, allocations: 475.7 kB / 324.3 MB, free: 304 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.008077, allocations: 1.75 kB / 324.3 MB, free: 304 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.008078, allocations: 0 / 324.3 MB, free: 304 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.008091, allocations: 0 / 324.3 MB, free: 304 kB / 286.1 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.001301/0.009392, allocations: 0.6019 MB / 324.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.009432, allocations: 9.625 kB / 324.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.927e-05/0.009521, allocations: 37.94 kB / 324.9 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004861/0.01001, allocations: 244.8 kB / 325.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.01004, allocations: 18.5 kB / 325.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.12e-05/0.01009, allocations: 25.67 kB / 325.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008022/0.01089, allocations: 377 kB / 325.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.0109, allocations: 192 / 325.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.01094, allocations: 11.41 kB / 325.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.01095, allocations: 17.7 kB / 325.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008508/0.0118, allocations: 282.6 kB / 325.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002093/0.01389, allocations: 0.9909 MB / 326.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009339/0.01483, allocations: 246 kB / 327.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003671/0.01519, allocations: 95.77 kB / 327.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.01522, allocations: 0.9375 kB / 327.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005636/0.01579, allocations: 233.2 kB / 327.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.01579, allocations: 0 / 327.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002588/0.01838, allocations: 0.5911 MB / 328 MB, free: 14.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.357e-05/0.01846, allocations: 109.8 kB / 328.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.01881, allocations: 269.7 kB / 328.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.01884, allocations: 28.45 kB / 328.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.01901, allocations: 203.1 kB / 328.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.01906, allocations: 49.25 kB / 328.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.01917, allocations: 48.11 kB / 328.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.01933, allocations: 332.1 kB / 329 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004099/0.01974, allocations: 137.5 kB / 329.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005046/0.02024, allocations: 282.9 kB / 329.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008189/0.02106, allocations: 321.1 kB / 329.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.02106, allocations: 0 / 329.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001455/0.02252, allocations: 498.5 kB / 330.3 MB, free: 12.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.29e-05/0.02256, allocations: 38.19 kB / 330.3 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.02257, allocations: 2.438 kB / 330.3 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004064/0.02298, allocations: 85.38 kB / 330.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.02321, allocations: 49.42 kB / 330.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00294/0.02615, allocations: 1.85 MB / 332.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/0.02653, allocations: 57.02 kB / 332.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.02656, allocations: 16.19 kB / 332.3 MB, free: 10.95 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (23): * Single equations (assignments): 21 * 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.0002072/0.02677, allocations: 151.4 kB / 332.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.02682, allocations: 31.36 kB / 332.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.998e-05/0.02687, allocations: 23.09 kB / 332.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.02687, allocations: 1.922 kB / 332.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.02687, allocations: 0 / 332.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.02688, allocations: 2.016 kB / 332.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.02717, allocations: 226.3 kB / 332.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.02717, allocations: 0.9688 kB / 332.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.02732, allocations: 26.31 kB / 332.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002999/0.02762, allocations: 89.45 kB / 332.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.02763, allocations: 1.094 kB / 332.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002482/0.03012, allocations: 1.67 MB / 334.6 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.03012, allocations: 1.094 kB / 334.6 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.03136, allocations: 367.7 kB / 334.9 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.167e-05/0.03143, allocations: 26.38 kB / 334.9 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.03147, allocations: 5.156 kB / 335 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.03175, allocations: 31.66 kB / 335 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.511e-05/0.03185, allocations: 18.69 kB / 335 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.03187, allocations: 7.016 kB / 335 MB, free: 8.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002578/0.03213, allocations: 194.9 kB / 335.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.03213, allocations: 0 / 335.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004675/0.0326, allocations: 79 kB / 335.3 MB, free: 8.668 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000156/0.03275, allocations: 104.7 kB / 335.4 MB, free: 8.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.0339, allocations: 454 kB / 335.8 MB, free: 8.238 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.0339, allocations: 4 kB / 335.8 MB, free: 8.234 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005181/0.03442, allocations: 228.9 kB / 336 MB, free: 8.066 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.03477, allocations: 55.28 kB / 336.1 MB, free: 8.035 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.03589, allocations: 489.6 kB / 336.6 MB, free: 7.691 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.03604, allocations: 147.1 kB / 336.7 MB, free: 7.582 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.03615, allocations: 22.67 kB / 336.7 MB, free: 7.566 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.506e-05/0.03621, allocations: 19.5 kB / 336.8 MB, free: 7.559 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.03621, allocations: 1.375 kB / 336.8 MB, free: 7.559 MB / 302.1 MB Notification: Performance of Templates: time 0.00905/0.04526, allocations: 4.081 MB / 340.8 MB, free: 5.086 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.414822593331337]