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.001428/0.001428, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 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.0016/0.0016, allocations: 210.6 kB / 24.47 MB, free: 3.977 MB / 14.72 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.602/1.602, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001643/0.001643, allocations: 55.91 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4172, allocations: 53.36 MB / 432.4 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004387/0.4216, allocations: 2.755 MB / 435.1 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.4231, allocations: 0.7246 MB / 435.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.4232, allocations: 8 kB / 435.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.4234, allocations: 51.5 kB / 435.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.4236, allocations: 107.2 kB / 436 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.424, allocations: 127.8 kB / 436.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004699/0.4244, allocations: 410.5 kB / 436.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.4247, allocations: 95.31 kB / 436.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.4249, allocations: 167.4 kB / 436.8 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.4251, allocations: 171.3 kB / 437 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.683e-05/0.4252, allocations: 40 kB / 437 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.55e-05/0.4252, allocations: 40 kB / 437 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.023e-05/0.4253, allocations: 79.7 kB / 437.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.4255, allocations: 151.3 kB / 437.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005161/0.426, allocations: 449.4 kB / 437.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.426, allocations: 0 / 437.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.426, allocations: 0 / 437.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.426, allocations: 0 / 437.7 MB, free: 1.371 MB / 334.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.00138/0.4274, allocations: 0.613 MB / 438.3 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4274, allocations: 8.031 kB / 438.3 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.4276, allocations: 40.7 kB / 438.4 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004791/0.428, allocations: 249.8 kB / 438.6 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.4281, allocations: 20.88 kB / 438.6 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/0.4281, allocations: 24.38 kB / 438.6 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008136/0.4289, allocations: 378.4 kB / 439 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.4289, allocations: 0 / 439 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.429, allocations: 12 kB / 439 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.429, allocations: 11.94 kB / 439 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008256/0.4298, allocations: 285.8 kB / 439.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.4317, allocations: 0.9837 MB / 440.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008158/0.4325, allocations: 238.6 kB / 440.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.4328, allocations: 104.7 kB / 440.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.4329, allocations: 4 kB / 440.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005059/0.4334, allocations: 236.7 kB / 440.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.4334, allocations: 0 / 440.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002225/0.4356, allocations: 0.5837 MB / 441.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.4357, allocations: 110.8 kB / 441.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.436, allocations: 277.8 kB / 441.8 MB, free: 13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.436, allocations: 33.7 kB / 441.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.4362, allocations: 199.9 kB / 442.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.4362, allocations: 39.69 kB / 442.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.759e-05/0.4363, allocations: 53.89 kB / 442.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.4364, allocations: 334.8 kB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/0.4368, allocations: 138.1 kB / 442.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004559/0.4373, allocations: 285.9 kB / 442.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007047/0.438, allocations: 307.8 kB / 443.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.438, allocations: 4 kB / 443.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001271/0.4392, allocations: 0.4886 MB / 443.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.33e-05/0.4393, allocations: 45.75 kB / 443.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.4393, allocations: 4 kB / 443.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003531/0.4397, allocations: 76.81 kB / 443.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.4399, allocations: 51.89 kB / 443.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002681/0.4425, allocations: 1.86 MB / 445.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003261/0.4429, allocations: 55.86 kB / 445.8 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.4429, allocations: 8 kB / 445.8 MB, free: 8.777 MB / 350.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.0001629/0.4431, allocations: 153.8 kB / 445.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.4431, allocations: 27.84 kB / 446 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.326e-05/0.4432, allocations: 21.78 kB / 446 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4432, allocations: 4 kB / 446 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4432, allocations: 3.984 kB / 446 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4432, allocations: 0 / 446 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.4434, allocations: 225.1 kB / 446.2 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4434, allocations: 0 / 446.2 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.4436, allocations: 23.92 kB / 446.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002793/0.4438, allocations: 80.8 kB / 446.3 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.4438, allocations: 4 kB / 446.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002352/0.4462, allocations: 1.671 MB / 448 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4462, allocations: 0 / 448 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.4473, allocations: 377.5 kB / 448.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.4473, allocations: 23.86 kB / 448.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.4474, allocations: 0 / 448.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.4476, allocations: 39.89 kB / 448.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.53e-05/0.4477, allocations: 19.97 kB / 448.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.4477, allocations: 0 / 448.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002018/0.4479, allocations: 201.2 kB / 448.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4479, allocations: 0 / 448.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003777/0.4483, allocations: 87.78 kB / 448.7 MB, free: 5.668 MB / 350.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.0001348/0.4484, allocations: 98.34 kB / 448.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.4494, allocations: 455.5 kB / 449.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4495, allocations: 4 kB / 449.3 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004919/0.4499, allocations: 239 kB / 449.5 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.4503, allocations: 47.28 kB / 449.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.4513, allocations: 492.3 kB / 450 MB, free: 4.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.4514, allocations: 146.9 kB / 450.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.4515, allocations: 22.3 kB / 450.2 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.4516, allocations: 19.44 kB / 450.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.4516, allocations: 3.938 kB / 450.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of Templates: time 0.008813/0.4604, allocations: 4.472 MB / 454.7 MB, free: 15.68 MB / 366.1 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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.203782744007185]