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.0007896/0.0007896, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001054/0.001843, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007232/0.0007232, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009644/0.001688, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 0.9995/0.9995, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08403/1.084, allocations: 53.86 MB / 243.7 MB, free: 14.91 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.412e-06/1.412e-06, allocations: 0 / 245.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.28e-05, allocations: 2.312 kB / 245.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004139/0.004162, allocations: 3.014 MB / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.005563, allocations: 0.7477 MB / 248.8 MB, free: 9.816 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.005732, allocations: 7.938 kB / 248.8 MB, free: 9.809 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.005854, allocations: 43.52 kB / 248.9 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.006076, allocations: 115 kB / 249 MB, free: 9.652 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.006318, allocations: 107.8 kB / 249.1 MB, free: 9.547 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005329/0.006851, allocations: 430.2 kB / 249.5 MB, free: 9.125 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.007057, allocations: 94.27 kB / 249.6 MB, free: 9.031 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003152/0.007372, allocations: 264 kB / 249.9 MB, free: 8.773 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.007523, allocations: 139.6 kB / 250 MB, free: 8.637 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.343e-05/0.007566, allocations: 47.94 kB / 250 MB, free: 8.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.769e-05/0.007604, allocations: 40 kB / 250.1 MB, free: 8.551 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.615e-05/0.00765, allocations: 59.81 kB / 250.1 MB, free: 8.492 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.193e-05/0.007732, allocations: 99.81 kB / 250.2 MB, free: 8.395 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.008006, allocations: 239.1 kB / 250.5 MB, free: 8.16 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.686e-05/0.008023, allocations: 0 / 250.5 MB, free: 8.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.008024, allocations: 4 kB / 250.5 MB, free: 8.156 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.008041, allocations: 4 kB / 250.5 MB, free: 8.152 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.0007936/0.008835, allocations: 0.6271 MB / 251.1 MB, free: 7.492 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.008868, allocations: 12.03 kB / 251.1 MB, free: 7.48 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.917e-05/0.008927, allocations: 36.91 kB / 251.1 MB, free: 7.445 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.009174, allocations: 197.2 kB / 251.3 MB, free: 7.227 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.009189, allocations: 21.03 kB / 251.4 MB, free: 7.207 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.00922, allocations: 32.38 kB / 251.4 MB, free: 7.176 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.009483, allocations: 272.4 kB / 251.7 MB, free: 6.879 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.009493, allocations: 192 / 251.7 MB, free: 6.879 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.009511, allocations: 12.38 kB / 251.7 MB, free: 6.867 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.009519, allocations: 11.94 kB / 251.7 MB, free: 6.855 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.375e-05/0.009613, allocations: 68.55 kB / 251.7 MB, free: 6.789 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008081/0.01042, allocations: 0.7557 MB / 252.5 MB, free: 5.98 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.01058, allocations: 102.4 kB / 252.6 MB, free: 5.871 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.518e-05/0.01062, allocations: 28.84 kB / 252.6 MB, free: 5.84 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.01064, allocations: 4 kB / 252.6 MB, free: 5.836 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/0.01081, allocations: 210.7 kB / 252.8 MB, free: 5.59 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.01082, allocations: 0 / 252.8 MB, free: 5.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004551/0.01127, allocations: 222.2 kB / 253.1 MB, free: 5.363 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.0113, allocations: 55.34 kB / 253.1 MB, free: 5.297 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.01144, allocations: 244.9 kB / 253.4 MB, free: 5.047 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.01146, allocations: 33.69 kB / 253.4 MB, free: 5.008 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/0.01153, allocations: 188.5 kB / 253.6 MB, free: 4.82 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.01156, allocations: 55.56 kB / 253.6 MB, free: 4.766 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/0.01162, allocations: 57.62 kB / 253.7 MB, free: 4.703 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.615e-05/0.01169, allocations: 334.8 kB / 254 MB, free: 4.367 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.597e-05/0.01174, allocations: 57.69 kB / 254.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.01184, allocations: 222.8 kB / 254.3 MB, free: 4.02 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.01196, allocations: 178.1 kB / 254.5 MB, free: 3.809 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01197, allocations: 0 / 254.5 MB, free: 3.809 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002435/0.01221, allocations: 257.8 kB / 254.7 MB, free: 3.535 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.01224, allocations: 37.7 kB / 254.7 MB, free: 3.492 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.01225, allocations: 4 kB / 254.7 MB, free: 3.488 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002204/0.01247, allocations: 72.78 kB / 254.8 MB, free: 3.414 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.665e-05/0.01257, allocations: 47.92 kB / 254.9 MB, free: 3.367 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008732/0.01344, allocations: 1.38 MB / 256.2 MB, free: 1.891 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.01356, allocations: 39.83 kB / 256.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.01357, allocations: 16.03 kB / 256.3 MB, free: 1.836 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 8.183e-05/0.01365, allocations: 133.7 kB / 256.4 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.01367, allocations: 15.98 kB / 256.4 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.0137, allocations: 26.11 kB / 256.5 MB, free: 1.66 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.0137, allocations: 7.938 kB / 256.5 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.0137, allocations: 0 / 256.5 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.01371, allocations: 0 / 256.5 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.01381, allocations: 157.7 kB / 256.6 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01381, allocations: 0 / 256.6 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.01386, allocations: 19.98 kB / 256.7 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.01388, allocations: 23.8 kB / 256.7 MB, free: 1.438 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001676/0.01405, allocations: 68.78 kB / 256.7 MB, free: 1.367 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.01406, allocations: 4 kB / 256.7 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007087/0.01476, allocations: 1.372 MB / 258.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01477, allocations: 0 / 258.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.01494, allocations: 169.2 kB / 258.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.01496, allocations: 0 / 258.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-05/0.01504, allocations: 32 kB / 258.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.01509, allocations: 27.94 kB / 258.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.0151, allocations: 4 kB / 258.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.613e-05/0.01517, allocations: 82.78 kB / 258.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01517, allocations: 0 / 258.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001896/0.01536, allocations: 83.83 kB / 258.5 MB, free: 15.48 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.0001078/0.01546, allocations: 96.27 kB / 258.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000296/0.01576, allocations: 330.7 kB / 258.9 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.01577, allocations: 4 kB / 258.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.01589, allocations: 183.4 kB / 259.1 MB, free: 14.83 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.01605, allocations: 73.11 kB / 259.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.01774, allocations: 0.5241 MB / 259.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.329e-05/0.0178, allocations: 84.31 kB / 259.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.132e-05/0.01788, allocations: 26.28 kB / 259.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.01801, allocations: 115.3 kB / 259.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01801, allocations: 0 / 259.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of Templates: time 0.00634/0.02435, allocations: 4.785 MB / 264.7 MB, free: 9.258 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4647244326770306]