Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.0007764/0.0007764, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001204/0.001981, 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.0007153/0.0007153, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00106/0.001775, 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.035/1.035, allocations: 177.5 MB / 190 MB, free: 4.758 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09371/1.129, allocations: 53.87 MB / 243.9 MB, free: 14.81 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.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 245.3 MB, free: 13.47 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.907e-05/3.126e-05, allocations: 5.406 kB / 245.3 MB, free: 13.47 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006453/0.006484, allocations: 4.467 MB / 249.7 MB, free: 8.977 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002619/0.009104, allocations: 1.277 MB / 251 MB, free: 7.695 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003598/0.009463, allocations: 11.94 kB / 251 MB, free: 7.684 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.009795, allocations: 142.7 kB / 251.1 MB, free: 7.543 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003647/0.01016, allocations: 226 kB / 251.4 MB, free: 7.32 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.01059, allocations: 203.5 kB / 251.6 MB, free: 7.121 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007699/0.01136, allocations: 0.7899 MB / 252.4 MB, free: 6.328 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003508/0.01171, allocations: 200.9 kB / 252.6 MB, free: 6.129 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.01272, allocations: 0.5 MB / 253.1 MB, free: 5.629 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003406/0.01306, allocations: 247.2 kB / 253.3 MB, free: 5.387 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.168e-05/0.01313, allocations: 64 kB / 253.4 MB, free: 5.324 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.01327, allocations: 71.98 kB / 253.4 MB, free: 5.254 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.346e-05/0.01335, allocations: 107.6 kB / 253.5 MB, free: 5.148 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.0135, allocations: 199.6 kB / 253.7 MB, free: 4.953 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004613/0.01396, allocations: 462.3 kB / 254.2 MB, free: 4.5 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.365e-05/0.01397, allocations: 8 kB / 254.2 MB, free: 4.492 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.01398, allocations: 0 / 254.2 MB, free: 4.492 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.01399, allocations: 0 / 254.2 MB, free: 4.492 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001151/0.01514, allocations: 1.006 MB / 255.2 MB, free: 3.461 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.01517, allocations: 8.031 kB / 255.2 MB, free: 3.453 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002568/0.01543, allocations: 190 kB / 255.4 MB, free: 3.25 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.0158, allocations: 299.6 kB / 255.7 MB, free: 2.93 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.01583, allocations: 41.69 kB / 255.7 MB, free: 2.887 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.229e-05/0.01588, allocations: 56.38 kB / 255.8 MB, free: 2.832 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004378/0.01632, allocations: 0.552 MB / 256.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.01634, allocations: 192 / 256.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.01637, allocations: 27.94 kB / 256.4 MB, free: 2.195 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.01638, allocations: 12 kB / 256.4 MB, free: 2.184 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.01654, allocations: 145 kB / 256.5 MB, free: 2.043 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.018, allocations: 1.18 MB / 257.7 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/0.01835, allocations: 259.2 kB / 257.9 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003958/0.01874, allocations: 345.2 kB / 258.3 MB, free: 216 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.01877, allocations: 8 kB / 258.3 MB, free: 208 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002962/0.01906, allocations: 431.5 kB / 258.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.953e-06/0.01907, allocations: 4 kB / 258.7 MB, free: 15.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0013/0.02037, allocations: 0.755 MB / 259.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.0204, allocations: 59.39 kB / 259.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.02061, allocations: 363.2 kB / 259.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.02064, allocations: 33.69 kB / 259.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.02076, allocations: 281.6 kB / 260.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.357e-05/0.02083, allocations: 154.7 kB / 260.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.773e-05/0.02092, allocations: 94.27 kB / 260.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.306e-05/0.02101, allocations: 370.7 kB / 260.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.644e-05/0.02107, allocations: 49.28 kB / 260.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.02125, allocations: 397.7 kB / 261.2 MB, free: 13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.02147, allocations: 278 kB / 261.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.02147, allocations: 0 / 261.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004741/0.02195, allocations: 438.6 kB / 261.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.02196, allocations: 8 kB / 261.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.02197, allocations: 4 kB / 261.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005679/0.02254, allocations: 276.2 kB / 262.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.02269, allocations: 87.78 kB / 262.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/0.0245, allocations: 2.199 MB / 264.5 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.02473, allocations: 79.62 kB / 264.6 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.02475, allocations: 16 kB / 264.6 MB, free: 9.5 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last,opAmp.satNeg,opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.02486, allocations: 152.4 kB / 264.7 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.0249, allocations: 47.95 kB / 264.8 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.266e-05/0.02496, allocations: 60.8 kB / 264.8 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.02496, allocations: 8 kB / 264.9 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.02496, allocations: 0 / 264.9 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.02497, allocations: 0 / 264.9 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007952/0.02576, allocations: 0.672 MB / 265.5 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.02577, allocations: 0 / 265.5 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.21e-05/0.02586, allocations: 39.97 kB / 265.6 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.0259, allocations: 51.55 kB / 265.6 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005213/0.02643, allocations: 272.5 kB / 265.9 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.02644, allocations: 8 kB / 265.9 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.02819, allocations: 2.184 MB / 268.1 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.02819, allocations: 3.938 kB / 268.1 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005043/0.0287, allocations: 0.5143 MB / 268.6 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.02873, allocations: 12 kB / 268.6 MB, free: 5.336 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.02887, allocations: 35.97 kB / 268.6 MB, free: 5.301 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.553e-05/0.02895, allocations: 43.86 kB / 268.7 MB, free: 5.258 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.02896, allocations: 4 kB / 268.7 MB, free: 5.254 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001196/0.02908, allocations: 160.7 kB / 268.8 MB, free: 5.098 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02908, allocations: 0 / 268.8 MB, free: 5.098 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004222/0.0295, allocations: 203.6 kB / 269 MB, free: 4.898 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition1,opAmp.satPos,opAmp.satNeg,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(3,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001287/0.02963, allocations: 96.39 kB / 269.1 MB, free: 4.793 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005276/0.03015, allocations: 462.2 kB / 269.6 MB, free: 4.332 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.897e-05/0.03017, allocations: 12 kB / 269.6 MB, free: 4.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.03051, allocations: 386.2 kB / 270 MB, free: 3.926 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/0.03102, allocations: 0.6225 MB / 270.6 MB, free: 3.191 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004058/0.03508, allocations: 1.016 MB / 271.6 MB, free: 2.141 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.627e-05/0.03517, allocations: 138 kB / 271.7 MB, free: 1.984 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.0353, allocations: 52.36 kB / 271.8 MB, free: 1.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.03548, allocations: 143.3 kB / 271.9 MB, free: 1.789 MB / 266.7 MB Notification: Performance of SimCode: time 1.102e-06/0.03548, allocations: 0 / 271.9 MB, free: 1.789 MB / 266.7 MB Notification: Performance of Templates: time 0.02612/0.0616, allocations: 8.244 MB / 280.2 MB, free: 9.645 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.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.6867758464068174]