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.001106/0.001106, allocations: 83.89 kB / 21.19 MB, free: 3.387 MB / 18.57 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.001082/0.001082, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 18.57 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 0.9278/0.9278, allocations: 173.3 MB / 201.1 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 179] 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.993e-06/1.993e-06, allocations: 0 / 268 MB, free: 6.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.008e-05/3.207e-05, allocations: 5.969 kB / 268 MB, free: 6.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004647/0.004679, allocations: 2.943 MB / 271 MB, free: 3.434 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.005858, allocations: 0.7167 MB / 271.7 MB, free: 2.711 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.006018, allocations: 7.938 kB / 271.7 MB, free: 2.703 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.006182, allocations: 47.56 kB / 271.7 MB, free: 2.656 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.006387, allocations: 115 kB / 271.9 MB, free: 2.543 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.006713, allocations: 115.8 kB / 272 MB, free: 2.43 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004172/0.00713, allocations: 430.2 kB / 272.4 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.007319, allocations: 83.67 kB / 272.5 MB, free: 1.922 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.007572, allocations: 235.5 kB / 272.7 MB, free: 1.691 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.007733, allocations: 135.6 kB / 272.8 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.695e-05/0.00778, allocations: 40 kB / 272.9 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.995e-05/0.00782, allocations: 40 kB / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.116e-05/0.007881, allocations: 83.67 kB / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.007986, allocations: 127.7 kB / 273.1 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.008337, allocations: 259.1 kB / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.008342, allocations: 0 / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.008344, allocations: 0 / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.008349, allocations: 3.938 kB / 273.4 MB, free: 1.016 MB / 250.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.0008392/0.009188, allocations: 0.6817 MB / 274.1 MB, free: 296 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.009225, allocations: 16.03 kB / 274.1 MB, free: 280 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.736e-05/0.009313, allocations: 52.75 kB / 274.1 MB, free: 228 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.009607, allocations: 236.1 kB / 274.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.009626, allocations: 20.86 kB / 274.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.009653, allocations: 28.38 kB / 274.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.01003, allocations: 312.9 kB / 274.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.01004, allocations: 192 / 274.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.01007, allocations: 12.38 kB / 274.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.01008, allocations: 7.938 kB / 274.7 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.01025, allocations: 106.9 kB / 274.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.01131, allocations: 1.033 MB / 275.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.01155, allocations: 119.1 kB / 276 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.909e-05/0.01161, allocations: 39.67 kB / 276 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.01163, allocations: 4 kB / 276 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.01179, allocations: 175.5 kB / 276.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.002e-06/0.0118, allocations: 4 kB / 276.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006986/0.01249, allocations: 312.4 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.01254, allocations: 110.8 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.01273, allocations: 308.2 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.01275, allocations: 33.7 kB / 277 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.01285, allocations: 246.8 kB / 277.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.01287, allocations: 47.62 kB / 277.2 MB, free: 12.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/0.01294, allocations: 55.55 kB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.01305, allocations: 0.504 MB / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.576e-05/0.01313, allocations: 58.14 kB / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.01326, allocations: 245.6 kB / 278.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.01343, allocations: 220.6 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01343, allocations: 0 / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003721/0.0138, allocations: 324.6 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.01383, allocations: 33.7 kB / 278.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.01384, allocations: 7.938 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000265/0.01411, allocations: 83.69 kB / 278.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.785e-05/0.0142, allocations: 47.92 kB / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.01535, allocations: 2.145 MB / 280.9 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.01549, allocations: 39.83 kB / 281 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.0155, allocations: 8 kB / 281 MB, free: 8.805 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.0001018/0.0156, allocations: 176.5 kB / 281.2 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.01563, allocations: 35.81 kB / 281.2 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.01566, allocations: 25.78 kB / 281.2 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.01566, allocations: 0 / 281.2 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.01566, allocations: 0 / 281.2 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01567, allocations: 3.984 kB / 281.2 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.01582, allocations: 216.5 kB / 281.4 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01582, allocations: 3.984 kB / 281.4 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.575e-05/0.01587, allocations: 12.12 kB / 281.5 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001777/0.01604, allocations: 91.55 kB / 281.5 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.01606, allocations: 7.984 kB / 281.5 MB, free: 8.191 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008837/0.01694, allocations: 1.885 MB / 283.4 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01694, allocations: 0 / 283.4 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.0172, allocations: 215.8 kB / 283.6 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.01723, allocations: 23.84 kB / 283.7 MB, free: 5.922 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.01725, allocations: 12.16 kB / 283.7 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.38e-05/0.01733, allocations: 23.98 kB / 283.7 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.259e-05/0.0174, allocations: 19.97 kB / 283.7 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.0174, allocations: 3.984 kB / 283.7 MB, free: 5.863 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001122/0.01752, allocations: 209.1 kB / 283.9 MB, free: 5.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01752, allocations: 0 / 283.9 MB, free: 5.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002592/0.01778, allocations: 83.84 kB / 284 MB, free: 5.578 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.0001128/0.01789, allocations: 103.2 kB / 284.1 MB, free: 5.465 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004357/0.01832, allocations: 378.3 kB / 284.5 MB, free: 5.055 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01833, allocations: 0 / 284.5 MB, free: 5.055 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.01849, allocations: 245.3 kB / 284.7 MB, free: 4.793 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.01872, allocations: 49.11 kB / 284.8 MB, free: 4.746 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007839/0.01951, allocations: 450.8 kB / 285.2 MB, free: 4.281 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.79e-05/0.01955, allocations: 84.31 kB / 285.3 MB, free: 4.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.92e-05/0.01962, allocations: 26.28 kB / 285.3 MB, free: 4.156 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.906e-05/0.01967, allocations: 20.5 kB / 285.3 MB, free: 4.137 MB / 266.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01967, allocations: 0 / 285.3 MB, free: 4.137 MB / 266.7 MB Notification: Performance of Templates: time 0.006438/0.02611, allocations: 4.345 MB / 289.7 MB, free: 15.85 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.795886553823948]