Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00181/0.00181, allocations: 85.27 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002222/0.002222, allocations: 156.5 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.735/1.735, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 325.1 MB, free: 488 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.674e-05, allocations: 2.281 kB / 325.1 MB, free: 484 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004422/0.004449, allocations: 2.779 MB / 327.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.006017, allocations: 0.7194 MB / 328.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.006175, allocations: 8.188 kB / 328.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.006315, allocations: 52.14 kB / 328.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.00656, allocations: 117.2 kB / 328.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.006864, allocations: 96.94 kB / 328.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005051/0.007369, allocations: 435.4 kB / 329.2 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.007552, allocations: 87.95 kB / 329.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003154/0.007867, allocations: 229.8 kB / 329.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.008081, allocations: 133.8 kB / 329.7 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.006e-05/0.008141, allocations: 40.28 kB / 329.7 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.63e-05/0.008208, allocations: 41.03 kB / 329.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.447e-05/0.008302, allocations: 82.06 kB / 329.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.008477, allocations: 127.1 kB / 330 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006261/0.009103, allocations: 473.9 kB / 330.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.009106, allocations: 1.125 kB / 330.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.009107, allocations: 0 / 330.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.009112, allocations: 0 / 330.4 MB, free: 13.11 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001181/0.01029, allocations: 0.5986 MB / 331 MB, free: 12.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.01032, allocations: 13.3 kB / 331 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.97e-05/0.0104, allocations: 35.56 kB / 331.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004802/0.01088, allocations: 252.8 kB / 331.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.01091, allocations: 19.53 kB / 331.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.573e-05/0.01096, allocations: 25.88 kB / 331.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007305/0.01169, allocations: 359.9 kB / 331.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.0117, allocations: 4.172 kB / 331.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.01173, allocations: 11.72 kB / 331.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.01174, allocations: 9.5 kB / 331.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007424/0.01249, allocations: 265.8 kB / 332 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.01436, allocations: 0.9293 MB / 332.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00082/0.01518, allocations: 210.6 kB / 333.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.01549, allocations: 95.25 kB / 333.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.01552, allocations: 1.906 kB / 333.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005191/0.01604, allocations: 261.6 kB / 333.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.01604, allocations: 0 / 333.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001757/0.01779, allocations: 455.5 kB / 333.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.852e-05/0.01788, allocations: 132 kB / 334.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/0.01825, allocations: 273.6 kB / 334.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.01829, allocations: 31.89 kB / 334.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.01847, allocations: 201.5 kB / 334.6 MB, free: 9.938 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.01853, allocations: 54.41 kB / 334.6 MB, free: 9.891 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.01863, allocations: 57.36 kB / 334.7 MB, free: 9.848 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.01882, allocations: 332.6 kB / 335 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.01915, allocations: 118.6 kB / 335.1 MB, free: 9.445 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004847/0.01964, allocations: 303.4 kB / 335.4 MB, free: 9.145 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000667/0.02031, allocations: 285.3 kB / 335.7 MB, free: 8.926 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.02031, allocations: 5.062 kB / 335.7 MB, free: 8.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001106/0.02141, allocations: 436.8 kB / 336.1 MB, free: 8.652 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/0.02146, allocations: 35.86 kB / 336.2 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.02147, allocations: 3.25 kB / 336.2 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003859/0.02186, allocations: 79.62 kB / 336.2 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.02209, allocations: 44 kB / 336.3 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.02448, allocations: 1.669 MB / 337.9 MB, free: 7.051 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003775/0.02486, allocations: 52.28 kB / 338 MB, free: 7.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.02489, allocations: 11.89 kB / 338 MB, free: 7.02 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (gain.opAmp.satNeg,gain.opAmp.satPos,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 (24): * Single equations (assignments): 22 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002223/0.02511, allocations: 156.2 kB / 338.2 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.02516, allocations: 27.77 kB / 338.2 MB, free: 6.859 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.878e-05/0.02522, allocations: 27.55 kB / 338.2 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.02523, allocations: 2.469 kB / 338.2 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.02523, allocations: 4 kB / 338.2 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.02523, allocations: 0 / 338.2 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.02553, allocations: 217.5 kB / 338.4 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.02553, allocations: 0 / 338.4 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.02568, allocations: 27.44 kB / 338.5 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000302/0.02599, allocations: 68.23 kB / 338.5 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.02601, allocations: 13.23 kB / 338.5 MB, free: 6.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002457/0.02846, allocations: 1.666 MB / 340.2 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.02847, allocations: 0 / 340.2 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009153/0.02938, allocations: 316.5 kB / 340.5 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.407e-05/0.02944, allocations: 25.44 kB / 340.5 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/0.02949, allocations: 9.469 kB / 340.5 MB, free: 4.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.02974, allocations: 35.95 kB / 340.6 MB, free: 4.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.02985, allocations: 19.97 kB / 340.6 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.02987, allocations: 11.94 kB / 340.6 MB, free: 4.789 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002675/0.03013, allocations: 189.2 kB / 340.8 MB, free: 4.602 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.03013, allocations: 0 / 340.8 MB, free: 4.602 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004264/0.03056, allocations: 87.83 kB / 340.9 MB, free: 4.516 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: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,gain.opAmp.satPos,gain.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001732/0.03073, allocations: 107.2 kB / 341 MB, free: 4.398 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.03177, allocations: 448.9 kB / 341.4 MB, free: 3.934 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.03178, allocations: 0.625 kB / 341.4 MB, free: 3.934 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004868/0.03226, allocations: 238.5 kB / 341.7 MB, free: 3.688 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.03263, allocations: 40.42 kB / 341.7 MB, free: 3.648 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.03473, allocations: 0.5769 MB / 342.3 MB, free: 3.039 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.0349, allocations: 155.5 kB / 342.4 MB, free: 2.867 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.03501, allocations: 30.42 kB / 342.5 MB, free: 2.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.115e-05/0.03509, allocations: 24.5 kB / 342.5 MB, free: 2.816 MB / 302.1 MB Notification: Performance of SimCode: time 7.21e-07/0.03509, allocations: 0 / 342.5 MB, free: 2.816 MB / 302.1 MB Notification: Performance of Templates: time 0.00964/0.04473, allocations: 4.376 MB / 346.9 MB, free: 14.5 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.771739959716797]