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.001154/0.001154, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001772/0.002926, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.001199/0.001199, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001244/0.002443, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.9049/0.9049, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1534/1.058, allocations: 52.48 MB / 238.5 MB, free: 7.637 MB / 234.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.223e-06/1.223e-06, allocations: 0 / 239.8 MB, free: 6.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.897e-05, allocations: 2.312 kB / 239.8 MB, free: 6.328 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.002788/0.002807, allocations: 2.969 MB / 242.7 MB, free: 3.363 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009038/0.00371, allocations: 0.736 MB / 243.5 MB, free: 2.625 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.003828, allocations: 8.75 kB / 243.5 MB, free: 2.617 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.47e-05/0.003922, allocations: 51.5 kB / 243.5 MB, free: 2.566 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.004057, allocations: 108.2 kB / 243.6 MB, free: 2.461 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.004241, allocations: 130.8 kB / 243.8 MB, free: 2.336 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003194/0.00456, allocations: 426.2 kB / 244.2 MB, free: 1.918 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.0047, allocations: 86.3 kB / 244.3 MB, free: 1.828 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.004942, allocations: 264.1 kB / 244.5 MB, free: 1.57 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.005092, allocations: 139.6 kB / 244.7 MB, free: 1.434 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.337e-05/0.005135, allocations: 40 kB / 244.7 MB, free: 1.395 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.823e-05/0.005173, allocations: 40 kB / 244.7 MB, free: 1.355 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.685e-05/0.00522, allocations: 61.12 kB / 244.8 MB, free: 1.297 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.092e-05/0.005301, allocations: 99.81 kB / 244.9 MB, free: 1.199 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.005538, allocations: 235.2 kB / 245.1 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.005547, allocations: 1.031 kB / 245.1 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.005548, allocations: 0 / 245.1 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.005557, allocations: 3.938 kB / 245.1 MB, free: 0.9609 MB / 234.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.0006747/0.006232, allocations: 0.6221 MB / 245.8 MB, free: 316 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.553e-05/0.006257, allocations: 8.031 kB / 245.8 MB, free: 308 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.696e-05/0.006314, allocations: 45.88 kB / 245.8 MB, free: 264 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.006525, allocations: 198.1 kB / 246 MB, free: 40 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.006541, allocations: 20.88 kB / 246 MB, free: 20 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.006578, allocations: 26.23 kB / 246 MB, free: 15.99 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.006871, allocations: 295.2 kB / 246.3 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.006879, allocations: 192 / 246.3 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.006898, allocations: 12.38 kB / 246.3 MB, free: 15.67 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.006907, allocations: 8.594 kB / 246.4 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.051e-05/0.006997, allocations: 68.16 kB / 246.4 MB, free: 15.6 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008126/0.00781, allocations: 0.7835 MB / 247.2 MB, free: 14.77 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.007984, allocations: 119.5 kB / 247.3 MB, free: 14.64 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/0.008017, allocations: 22.52 kB / 247.3 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.008035, allocations: 4 kB / 247.4 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.008176, allocations: 173 kB / 247.5 MB, free: 14.42 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.002e-06/0.008177, allocations: 0 / 247.5 MB, free: 14.42 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005222/0.008699, allocations: 263.3 kB / 247.8 MB, free: 14.16 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.008727, allocations: 55.41 kB / 247.8 MB, free: 14.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.008856, allocations: 244.9 kB / 248.1 MB, free: 13.84 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.008874, allocations: 25.7 kB / 248.1 MB, free: 13.81 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.525e-05/0.008949, allocations: 192.1 kB / 248.3 MB, free: 13.62 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.008974, allocations: 47.61 kB / 248.3 MB, free: 13.57 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.009028, allocations: 53.81 kB / 248.4 MB, free: 13.51 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.957e-05/0.009107, allocations: 334.8 kB / 248.7 MB, free: 13.17 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.542e-05/0.009152, allocations: 54.16 kB / 248.8 MB, free: 13.11 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.241e-05/0.009245, allocations: 198 kB / 249 MB, free: 12.86 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.009378, allocations: 183.8 kB / 249.1 MB, free: 12.64 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.00938, allocations: 0 / 249.1 MB, free: 12.64 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003097/0.00969, allocations: 264 kB / 249.4 MB, free: 12.36 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.009729, allocations: 37.72 kB / 249.4 MB, free: 12.32 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.009737, allocations: 4 kB / 249.4 MB, free: 12.31 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002541/0.009991, allocations: 72.81 kB / 249.5 MB, free: 12.24 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.01012, allocations: 51.91 kB / 249.6 MB, free: 12.19 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.01119, allocations: 1.45 MB / 251 MB, free: 10.64 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.01135, allocations: 43.86 kB / 251 MB, free: 10.6 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.01137, allocations: 11.98 kB / 251.1 MB, free: 10.59 MB / 250.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 9.313e-05/0.01147, allocations: 125.8 kB / 251.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.01149, allocations: 15.98 kB / 251.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.01153, allocations: 29.7 kB / 251.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01153, allocations: 4 kB / 251.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.01153, allocations: 0 / 251.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01153, allocations: 4.047 kB / 251.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.01168, allocations: 161.7 kB / 251.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01168, allocations: 0 / 251.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.074e-05/0.01174, allocations: 15.98 kB / 251.4 MB, free: 10.22 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.01177, allocations: 19.86 kB / 251.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001871/0.01196, allocations: 64.81 kB / 251.5 MB, free: 10.13 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.01197, allocations: 0 / 251.5 MB, free: 10.13 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008482/0.01281, allocations: 1.292 MB / 252.8 MB, free: 8.754 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01282, allocations: 0 / 252.8 MB, free: 8.754 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.01305, allocations: 161.8 kB / 252.9 MB, free: 8.574 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.01307, allocations: 0 / 252.9 MB, free: 8.574 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.01317, allocations: 27.97 kB / 253 MB, free: 8.547 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.01323, allocations: 19.94 kB / 253 MB, free: 8.527 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.01324, allocations: 8 kB / 253 MB, free: 8.52 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.182e-05/0.01332, allocations: 86.77 kB / 253.1 MB, free: 8.43 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01332, allocations: 0 / 253.1 MB, free: 8.43 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002958/0.01362, allocations: 91.72 kB / 253.2 MB, free: 8.34 MB / 250.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 9.559e-05/0.01371, allocations: 80.36 kB / 253.2 MB, free: 8.254 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003184/0.01403, allocations: 315.2 kB / 253.6 MB, free: 7.914 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/0.01404, allocations: 12.08 kB / 253.6 MB, free: 7.902 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.01419, allocations: 175.3 kB / 253.7 MB, free: 7.715 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.01452, allocations: 475.4 kB / 254.2 MB, free: 7.164 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.01644, allocations: 456.5 kB / 254.6 MB, free: 6.691 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.141e-05/0.01649, allocations: 88.31 kB / 254.7 MB, free: 6.586 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.442e-05/0.01657, allocations: 22.3 kB / 254.8 MB, free: 6.562 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.01672, allocations: 103.3 kB / 254.9 MB, free: 6.461 MB / 250.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01672, allocations: 0 / 254.9 MB, free: 6.461 MB / 250.7 MB Notification: Performance of Templates: time 0.007424/0.02415, allocations: 4.531 MB / 259.4 MB, free: 2.02 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5008570114150643]