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.0009613/0.0009613, allocations: 80.81 kB / 21.5 MB, free: 2.828 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.0009387/0.0009387, allocations: 164.4 kB / 24.91 MB, free: 9.258 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 0.9481/0.9481, allocations: 177 MB / 205.2 MB, free: 5.441 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.072e-06/1.072e-06, allocations: 0 / 273.5 MB, free: 1.121 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.037e-05, allocations: 2.312 kB / 273.5 MB, free: 1.117 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.003603/0.003623, allocations: 2.978 MB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.005189, allocations: 0.7476 MB / 277.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002239/0.005413, allocations: 7.938 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.005584, allocations: 55.44 kB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.005807, allocations: 115.1 kB / 277.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.006131, allocations: 103.8 kB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004148/0.006546, allocations: 430.1 kB / 277.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.006707, allocations: 90.28 kB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.006947, allocations: 231.5 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.007107, allocations: 135.6 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.057e-05/0.007148, allocations: 44 kB / 278.4 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.695e-05/0.007185, allocations: 44 kB / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.171e-05/0.007237, allocations: 83.67 kB / 278.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.98e-05/0.007336, allocations: 127.6 kB / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.007629, allocations: 263.1 kB / 278.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.007635, allocations: 4 kB / 278.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.007637, allocations: 4 kB / 278.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.007643, allocations: 0 / 278.9 MB, free: 11.66 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.0009513/0.008594, allocations: 0.5649 MB / 279.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.008624, allocations: 15.98 kB / 279.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.176e-05/0.008686, allocations: 44.89 kB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.008922, allocations: 197.2 kB / 279.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.008938, allocations: 17.03 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.008963, allocations: 28.38 kB / 279.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.009228, allocations: 276.4 kB / 280 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.009237, allocations: 4.188 kB / 280 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.009254, allocations: 12.38 kB / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.009263, allocations: 11.94 kB / 280.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.611e-05/0.009359, allocations: 64.56 kB / 280.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008667/0.01023, allocations: 0.7518 MB / 280.9 MB, free: 9.555 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.01038, allocations: 102.4 kB / 281 MB, free: 9.445 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.97e-05/0.01042, allocations: 28.84 kB / 281 MB, free: 9.414 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.01044, allocations: 4 kB / 281 MB, free: 9.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.0106, allocations: 203.8 kB / 281.2 MB, free: 9.168 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.01061, allocations: 4 kB / 281.2 MB, free: 9.164 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004785/0.01108, allocations: 222.5 kB / 281.4 MB, free: 8.938 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.01113, allocations: 136.5 kB / 281.6 MB, free: 8.773 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.01128, allocations: 244.9 kB / 281.8 MB, free: 8.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.0113, allocations: 37.64 kB / 281.8 MB, free: 8.477 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.087e-05/0.01137, allocations: 184.5 kB / 282 MB, free: 8.293 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.01139, allocations: 51.55 kB / 282.1 MB, free: 8.242 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.966e-05/0.01145, allocations: 57.64 kB / 282.1 MB, free: 8.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.498e-05/0.01153, allocations: 338.8 kB / 282.4 MB, free: 7.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.111e-05/0.01158, allocations: 53.69 kB / 282.5 MB, free: 7.781 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.01169, allocations: 222.8 kB / 282.7 MB, free: 7.496 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.01187, allocations: 177.6 kB / 282.9 MB, free: 7.285 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.01187, allocations: 4 kB / 282.9 MB, free: 7.281 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000297/0.01217, allocations: 253.5 kB / 283.1 MB, free: 7.012 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.0122, allocations: 40.52 kB / 283.2 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01221, allocations: 4 kB / 283.2 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002311/0.01244, allocations: 77.09 kB / 283.3 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.677e-05/0.01253, allocations: 39.92 kB / 283.3 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009434/0.01348, allocations: 1.384 MB / 284.7 MB, free: 5.367 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.01361, allocations: 43.77 kB / 284.7 MB, free: 5.324 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.01362, allocations: 12 kB / 284.7 MB, free: 5.312 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 9.218e-05/0.01371, allocations: 129.8 kB / 284.9 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.01374, allocations: 19.97 kB / 284.9 MB, free: 5.156 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.021e-05/0.01377, allocations: 30.11 kB / 284.9 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.01377, allocations: 7.969 kB / 284.9 MB, free: 5.117 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.01377, allocations: 0 / 284.9 MB, free: 5.117 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01377, allocations: 0 / 284.9 MB, free: 5.117 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.0139, allocations: 153.7 kB / 285.1 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.0139, allocations: 0 / 285.1 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.922e-05/0.01395, allocations: 19.98 kB / 285.1 MB, free: 4.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001741/0.01412, allocations: 72.8 kB / 285.2 MB, free: 4.855 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.01413, allocations: 3.984 kB / 285.2 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007513/0.01488, allocations: 1.372 MB / 286.5 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.01488, allocations: 0 / 286.5 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.01506, allocations: 168.8 kB / 286.7 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.21e-05/0.01508, allocations: 19.86 kB / 286.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.0151, allocations: 4 kB / 286.7 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.704e-05/0.01518, allocations: 23.97 kB / 286.7 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.01523, allocations: 27.95 kB / 286.8 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.01524, allocations: 0 / 286.8 MB, free: 3.129 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.866e-05/0.01529, allocations: 90.7 kB / 286.9 MB, free: 3.039 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01529, allocations: 0 / 286.9 MB, free: 3.039 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001928/0.01549, allocations: 99.72 kB / 287 MB, free: 2.941 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.325e-05/0.01558, allocations: 80.41 kB / 287 MB, free: 2.855 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002879/0.01587, allocations: 323.4 kB / 287.4 MB, free: 2.508 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.01588, allocations: 4 kB / 287.4 MB, free: 2.504 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.016, allocations: 188 kB / 287.5 MB, free: 2.305 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.01615, allocations: 52.34 kB / 287.6 MB, free: 2.254 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008637/0.01702, allocations: 0.5087 MB / 288.1 MB, free: 1.719 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.419e-05/0.01706, allocations: 84.31 kB / 288.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.07e-05/0.01713, allocations: 26.28 kB / 288.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.01726, allocations: 107.3 kB / 288.3 MB, free: 1.484 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01726, allocations: 0 / 288.3 MB, free: 1.484 MB / 266.7 MB Notification: Performance of Templates: time 0.006141/0.0234, allocations: 4.595 MB / 292.9 MB, free: 12.96 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 -s gbode -gbm=radauIIA3 -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.6490595238283277]