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.0007178/0.0007178, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001134/0.001852, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006938/0.0006938, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009455/0.001639, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.007/1.007, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09098/1.098, allocations: 53.87 MB / 243.9 MB, free: 14.87 MB / 250.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.132e-06/1.132e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.016e-05, allocations: 2.312 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.006516/0.006536, allocations: 3.006 MB / 248.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.007841, allocations: 0.7593 MB / 249 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.007993, allocations: 7.938 kB / 249 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.008123, allocations: 51.5 kB / 249.1 MB, free: 9.699 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.00832, allocations: 107.1 kB / 249.2 MB, free: 9.594 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.008534, allocations: 107.7 kB / 249.3 MB, free: 9.488 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003755/0.008909, allocations: 426.2 kB / 249.7 MB, free: 9.07 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.009078, allocations: 90.28 kB / 249.8 MB, free: 8.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003305/0.01238, allocations: 272 kB / 250 MB, free: 8.715 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.01258, allocations: 151.6 kB / 250.2 MB, free: 8.566 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.42e-05/0.01264, allocations: 40 kB / 250.2 MB, free: 8.527 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.413e-05/0.01269, allocations: 40 kB / 250.3 MB, free: 8.488 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.01275, allocations: 59.81 kB / 250.3 MB, free: 8.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.01286, allocations: 103.8 kB / 250.4 MB, free: 8.328 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.01319, allocations: 239.1 kB / 250.7 MB, free: 8.094 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-05/0.0132, allocations: 0 / 250.7 MB, free: 8.094 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.01321, allocations: 0 / 250.7 MB, free: 8.094 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.01322, allocations: 0 / 250.7 MB, free: 8.094 MB / 250.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.0008922/0.01412, allocations: 0.6309 MB / 251.3 MB, free: 7.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.01415, allocations: 8.031 kB / 251.3 MB, free: 7.422 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.267e-05/0.01423, allocations: 48.89 kB / 251.3 MB, free: 7.375 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.01452, allocations: 189.3 kB / 251.5 MB, free: 7.164 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.01454, allocations: 21.03 kB / 251.6 MB, free: 7.145 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.8e-05/0.01458, allocations: 32.38 kB / 251.6 MB, free: 7.113 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003342/0.01491, allocations: 280.4 kB / 251.9 MB, free: 6.809 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.01492, allocations: 192 / 251.9 MB, free: 6.809 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.01494, allocations: 12.38 kB / 251.9 MB, free: 6.797 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.01495, allocations: 7.938 kB / 251.9 MB, free: 6.789 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.01507, allocations: 68.56 kB / 251.9 MB, free: 6.727 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004163/0.01924, allocations: 0.7518 MB / 252.7 MB, free: 5.922 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.01945, allocations: 98.47 kB / 252.8 MB, free: 5.816 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.822e-05/0.01949, allocations: 32.78 kB / 252.8 MB, free: 5.781 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.01952, allocations: 4 kB / 252.8 MB, free: 5.777 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.01973, allocations: 207.4 kB / 253 MB, free: 5.535 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.644e-06/0.01973, allocations: 4 kB / 253 MB, free: 5.531 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005893/0.02032, allocations: 218.2 kB / 253.3 MB, free: 5.309 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.02036, allocations: 55.41 kB / 253.3 MB, free: 5.242 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.02052, allocations: 244.9 kB / 253.5 MB, free: 4.992 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.02054, allocations: 33.7 kB / 253.6 MB, free: 4.953 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.993e-05/0.02063, allocations: 192.4 kB / 253.8 MB, free: 4.762 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.02067, allocations: 51.5 kB / 253.8 MB, free: 4.711 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.371e-05/0.02074, allocations: 57.62 kB / 253.9 MB, free: 4.648 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.02095, allocations: 338.8 kB / 254.2 MB, free: 4.309 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.463e-05/0.02101, allocations: 57.69 kB / 254.3 MB, free: 4.246 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003142/0.02416, allocations: 218.8 kB / 254.5 MB, free: 3.965 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.02432, allocations: 178.9 kB / 254.6 MB, free: 3.75 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.02433, allocations: 8 kB / 254.7 MB, free: 3.742 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003464/0.02467, allocations: 264.5 kB / 254.9 MB, free: 3.465 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/0.02471, allocations: 29.7 kB / 254.9 MB, free: 3.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.02472, allocations: 4 kB / 254.9 MB, free: 3.426 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002827/0.02501, allocations: 77.09 kB / 255 MB, free: 3.348 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.02514, allocations: 47.92 kB / 255.1 MB, free: 3.301 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.02626, allocations: 1.388 MB / 256.5 MB, free: 1.812 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.02643, allocations: 39.83 kB / 256.5 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.02644, allocations: 12 kB / 256.5 MB, free: 1.762 MB / 250.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.474e-05/0.02654, allocations: 125.8 kB / 256.6 MB, free: 1.629 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.02657, allocations: 24.02 kB / 256.7 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.0266, allocations: 30.11 kB / 256.7 MB, free: 1.582 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.0266, allocations: 3.938 kB / 256.7 MB, free: 1.578 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.0266, allocations: 4 kB / 256.7 MB, free: 1.574 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.02661, allocations: 0 / 256.7 MB, free: 1.574 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.02675, allocations: 157.6 kB / 256.8 MB, free: 1.402 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.02675, allocations: 0 / 256.8 MB, free: 1.402 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.279e-05/0.02682, allocations: 15.98 kB / 256.9 MB, free: 1.387 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.611e-05/0.02684, allocations: 23.8 kB / 256.9 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003227/0.03007, allocations: 76.78 kB / 257 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.03008, allocations: 4 kB / 257 MB, free: 1.281 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.03125, allocations: 1.364 MB / 258.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.03125, allocations: 0 / 258.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.03148, allocations: 161.8 kB / 258.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.03151, allocations: 7.984 kB / 258.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.03161, allocations: 23.98 kB / 258.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.03167, allocations: 23.94 kB / 258.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.03168, allocations: 8.031 kB / 258.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8e-05/0.03176, allocations: 82.77 kB / 258.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03176, allocations: 0 / 258.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002959/0.03205, allocations: 87.83 kB / 258.7 MB, free: 15.42 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 0.0001207/0.03217, allocations: 88.36 kB / 258.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000377/0.03255, allocations: 335.3 kB / 259.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.03256, allocations: 8.188 kB / 259.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.03274, allocations: 199.3 kB / 259.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003375/0.03611, allocations: 471.5 kB / 259.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.0384, allocations: 0.5243 MB / 260.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.576e-05/0.03845, allocations: 84.62 kB / 260.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.596e-05/0.03855, allocations: 26.28 kB / 260.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.03871, allocations: 107.3 kB / 260.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of SimCode: time 1.092e-06/0.03871, allocations: 0 / 260.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of Templates: time 0.01309/0.0518, allocations: 4.905 MB / 265.4 MB, free: 8.574 MB / 266.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6291213054209948]