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.001032/0.001032, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 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.0009902/0.0009902, allocations: 168.2 kB / 24.99 MB, free: 8.801 MB / 18.57 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.071/1.071, allocations: 177 MB / 205.2 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] 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.092e-06/1.092e-06, allocations: 0 / 273 MB, free: 1.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.254e-05/1.364e-05, allocations: 2.312 kB / 273 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.003024/0.003037, allocations: 2.974 MB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.004189, allocations: 0.7322 MB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.004332, allocations: 4 kB / 276.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.004483, allocations: 47.52 kB / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.004677, allocations: 115 kB / 276.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.004933, allocations: 107.8 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000417/0.00535, allocations: 430.1 kB / 277.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.005547, allocations: 87.66 kB / 277.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002525/0.0058, allocations: 231.4 kB / 277.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.005986, allocations: 139.6 kB / 277.9 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.497e-05/0.006041, allocations: 40 kB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.302e-05/0.006094, allocations: 44 kB / 278 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.896e-05/0.006163, allocations: 83.67 kB / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.006292, allocations: 127.7 kB / 278.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.006603, allocations: 259.1 kB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.006605, allocations: 0 / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.006606, allocations: 4 kB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.006611, allocations: 0 / 278.4 MB, free: 12.29 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008934/0.007504, allocations: 0.6857 MB / 279.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.007538, allocations: 11.98 kB / 279.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.882e-05/0.007637, allocations: 56.75 kB / 279.2 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.007962, allocations: 259.9 kB / 279.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.007983, allocations: 17.03 kB / 279.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/0.008025, allocations: 28.38 kB / 279.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004112/0.008436, allocations: 288.4 kB / 279.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.008446, allocations: 192 / 279.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.008473, allocations: 12.38 kB / 279.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.008484, allocations: 7.938 kB / 279.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.008714, allocations: 111.8 kB / 279.9 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.009935, allocations: 0.9443 MB / 280.8 MB, free: 9.715 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.01019, allocations: 117.8 kB / 280.9 MB, free: 9.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.91e-05/0.01027, allocations: 43.66 kB / 281 MB, free: 9.543 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.01029, allocations: 4.281 kB / 281 MB, free: 9.539 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/0.01051, allocations: 220.7 kB / 281.2 MB, free: 9.273 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.01051, allocations: 0 / 281.2 MB, free: 9.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007576/0.01127, allocations: 272.9 kB / 281.5 MB, free: 8.996 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.01133, allocations: 136.5 kB / 281.6 MB, free: 8.832 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.01158, allocations: 308.2 kB / 281.9 MB, free: 8.512 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.01161, allocations: 33.69 kB / 281.9 MB, free: 8.473 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.01173, allocations: 246.8 kB / 282.2 MB, free: 8.227 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.01177, allocations: 51.56 kB / 282.2 MB, free: 8.176 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.252e-05/0.01185, allocations: 63.31 kB / 282.3 MB, free: 8.105 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.01199, allocations: 0.504 MB / 282.8 MB, free: 7.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.904e-05/0.01209, allocations: 65.67 kB / 282.9 MB, free: 7.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.01228, allocations: 278.3 kB / 283.1 MB, free: 7.164 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.0125, allocations: 218.2 kB / 283.3 MB, free: 6.902 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.01251, allocations: 0 / 283.3 MB, free: 6.902 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004858/0.01299, allocations: 324.4 kB / 283.7 MB, free: 6.562 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.01302, allocations: 36.55 kB / 283.7 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.01303, allocations: 4 kB / 283.7 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000333/0.01336, allocations: 87.64 kB / 283.8 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.01349, allocations: 39.92 kB / 283.8 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.01489, allocations: 1.984 MB / 285.8 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.01507, allocations: 43.77 kB / 285.9 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.01509, allocations: 16.11 kB / 285.9 MB, free: 4.223 MB / 266.7 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.0001167/0.01521, allocations: 168.5 kB / 286 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.01525, allocations: 39.78 kB / 286.1 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.01529, allocations: 26.12 kB / 286.1 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.01529, allocations: 0 / 286.1 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.01529, allocations: 3.984 kB / 286.1 MB, free: 3.973 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.01529, allocations: 0 / 286.1 MB, free: 3.973 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.01548, allocations: 228.5 kB / 286.3 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.01549, allocations: 4 kB / 286.3 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.249e-05/0.01555, allocations: 23.92 kB / 286.4 MB, free: 3.688 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002455/0.0158, allocations: 71.61 kB / 286.4 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.01581, allocations: 11.94 kB / 286.4 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/0.01702, allocations: 1.984 MB / 288.4 MB, free: 1.488 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.01703, allocations: 3.984 kB / 288.4 MB, free: 1.484 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.01736, allocations: 222.7 kB / 288.6 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.01739, allocations: 27.8 kB / 288.7 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.01742, allocations: 7.922 kB / 288.7 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.01753, allocations: 28.02 kB / 288.7 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.666e-05/0.01761, allocations: 31.89 kB / 288.7 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.01762, allocations: 4 kB / 288.7 MB, free: 1.145 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001462/0.01777, allocations: 209.1 kB / 288.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01777, allocations: 0 / 288.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003231/0.01809, allocations: 87.84 kB / 289 MB, free: 0.8555 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: 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 9.049e-05/0.01818, allocations: 99.25 kB / 289.1 MB, free: 0.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004779/0.01866, allocations: 405.5 kB / 289.5 MB, free: 324 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01866, allocations: 0 / 289.5 MB, free: 324 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.01887, allocations: 249.3 kB / 289.8 MB, free: 52 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.01918, allocations: 53.09 kB / 289.8 MB, free: 0 / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.02035, allocations: 0.5066 MB / 290.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.65e-05/0.02041, allocations: 88.31 kB / 290.4 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.92e-05/0.0205, allocations: 30.22 kB / 290.4 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.513e-05/0.02055, allocations: 20.5 kB / 290.5 MB, free: 15.31 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02055, allocations: 0 / 290.5 MB, free: 15.31 MB / 282.7 MB Notification: Performance of Templates: time 0.007299/0.02785, allocations: 4.442 MB / 294.9 MB, free: 10.93 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 240] 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","",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.9127005129121244]