Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.001147/0.001147, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001225/0.001225, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.054/1.054, allocations: 177.1 MB / 205 MB, free: 5.633 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.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.178e-05/3.357e-05, allocations: 2.312 kB / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.003984/0.004017, allocations: 2.962 MB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.005154, allocations: 0.744 MB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.005308, allocations: 4 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.005479, allocations: 51.45 kB / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.005633, allocations: 115.1 kB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.005939, allocations: 111.8 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000364/0.006303, allocations: 434.2 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.006501, allocations: 87.61 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.006723, allocations: 235.5 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.006893, allocations: 139.5 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.826e-05/0.006942, allocations: 40 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.217e-05/0.006984, allocations: 40 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.006e-05/0.007044, allocations: 83.67 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.007147, allocations: 127.7 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.007436, allocations: 259.1 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.00744, allocations: 3.984 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.007442, allocations: 0 / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.007447, allocations: 3.938 kB / 278.4 MB, free: 12.07 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.0008364/0.008284, allocations: 0.6779 MB / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.008326, allocations: 8.031 kB / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.486e-05/0.008421, allocations: 64.67 kB / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.008732, allocations: 244 kB / 279.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.008755, allocations: 20.88 kB / 279.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.008788, allocations: 24.38 kB / 279.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004173/0.009205, allocations: 309 kB / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.009217, allocations: 192 / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.009241, allocations: 12.38 kB / 279.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.009254, allocations: 11.94 kB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.009428, allocations: 98.88 kB / 279.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.01051, allocations: 1.037 MB / 280.9 MB, free: 9.414 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.01076, allocations: 111.2 kB / 281 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.805e-05/0.01083, allocations: 35.67 kB / 281.1 MB, free: 9.254 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.01086, allocations: 4 kB / 281.1 MB, free: 9.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.01106, allocations: 191.4 kB / 281.2 MB, free: 9.027 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.542e-06/0.01106, allocations: 3.938 kB / 281.3 MB, free: 9.023 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009472/0.01201, allocations: 304.9 kB / 281.5 MB, free: 8.715 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.01206, allocations: 106.8 kB / 281.7 MB, free: 8.586 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.01228, allocations: 308.2 kB / 282 MB, free: 8.266 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.0123, allocations: 33.7 kB / 282 MB, free: 8.227 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.01241, allocations: 258.7 kB / 282.2 MB, free: 7.969 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.01244, allocations: 39.69 kB / 282.3 MB, free: 7.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-05/0.01251, allocations: 59.55 kB / 282.3 MB, free: 7.859 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.01264, allocations: 0.4962 MB / 282.8 MB, free: 7.352 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.312e-05/0.01272, allocations: 58.14 kB / 282.9 MB, free: 7.289 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.01288, allocations: 249.6 kB / 283.1 MB, free: 6.969 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.01308, allocations: 219.7 kB / 283.3 MB, free: 6.699 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01309, allocations: 0 / 283.3 MB, free: 6.699 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004063/0.01349, allocations: 324.2 kB / 283.7 MB, free: 6.359 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/0.01353, allocations: 37.7 kB / 283.7 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.01353, allocations: 4 kB / 283.7 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003052/0.01384, allocations: 75.88 kB / 283.8 MB, free: 6.234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.01395, allocations: 47.92 kB / 283.8 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.01526, allocations: 2.153 MB / 286 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.01539, allocations: 35.88 kB / 286 MB, free: 3.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.01541, allocations: 12.12 kB / 286 MB, free: 3.863 MB / 266.7 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.0001127/0.01552, allocations: 176.5 kB / 286.2 MB, free: 3.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.01556, allocations: 39.8 kB / 286.2 MB, free: 3.641 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.01559, allocations: 29.7 kB / 286.3 MB, free: 3.609 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01559, allocations: 4 kB / 286.3 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.01559, allocations: 0 / 286.3 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.0156, allocations: 0 / 286.3 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.01577, allocations: 220.5 kB / 286.5 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01577, allocations: 0 / 286.5 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.074e-05/0.01583, allocations: 15.98 kB / 286.5 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001955/0.01602, allocations: 79.58 kB / 286.6 MB, free: 3.258 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.01603, allocations: 0 / 286.6 MB, free: 3.258 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/0.01731, allocations: 1.889 MB / 288.5 MB, free: 1.246 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01732, allocations: 0 / 288.5 MB, free: 1.246 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.0176, allocations: 211.8 kB / 288.7 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.78e-05/0.01763, allocations: 27.88 kB / 288.7 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.01765, allocations: 15.88 kB / 288.7 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.694e-05/0.01774, allocations: 23.97 kB / 288.7 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.247e-05/0.01781, allocations: 15.97 kB / 288.8 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.01782, allocations: 8 kB / 288.8 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001322/0.01795, allocations: 209.1 kB / 289 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01795, allocations: 0 / 289 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002729/0.01823, allocations: 83.78 kB / 289 MB, free: 0.6367 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 0.0001197/0.01835, allocations: 115.2 kB / 289.2 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004305/0.01878, allocations: 381.5 kB / 289.5 MB, free: 108 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01878, allocations: 0 / 289.5 MB, free: 108 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.01896, allocations: 225.5 kB / 289.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.0192, allocations: 59.17 kB / 289.8 MB, free: 15.81 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008729/0.02007, allocations: 443 kB / 290.2 MB, free: 15.35 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.042e-05/0.02012, allocations: 92.12 kB / 290.3 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.911e-05/0.02019, allocations: 30.22 kB / 290.4 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/0.02024, allocations: 16.5 kB / 290.4 MB, free: 15.19 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.02024, allocations: 4 kB / 290.4 MB, free: 15.19 MB / 282.7 MB Notification: Performance of Templates: time 0.006192/0.02644, allocations: 4.192 MB / 294.6 MB, free: 11.05 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.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: 3.134700178168714]