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.001269/0.001269, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.00142/0.00142, allocations: 169.3 kB / 24.82 MB, free: 9.273 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.9778/0.9778, allocations: 177 MB / 205.1 MB, free: 5.477 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.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 1.703e-06/1.703e-06, allocations: 0 / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.668e-05, allocations: 9.266 kB / 273.4 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005738/0.005765, allocations: 4.38 MB / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.007921, allocations: 1.226 MB / 279 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002792/0.008201, allocations: 11.94 kB / 279 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004837/0.008684, allocations: 142.7 kB / 279.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005245/0.009209, allocations: 226 kB / 279.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/0.009738, allocations: 203.5 kB / 279.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007715/0.01051, allocations: 0.7976 MB / 280.4 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003298/0.01084, allocations: 183 kB / 280.5 MB, free: 9.969 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005518/0.01139, allocations: 443 kB / 281 MB, free: 9.535 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003669/0.01176, allocations: 251.2 kB / 281.2 MB, free: 9.289 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.749e-05/0.01185, allocations: 64 kB / 281.3 MB, free: 9.227 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.01198, allocations: 72 kB / 281.3 MB, free: 9.156 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.01211, allocations: 159.3 kB / 281.5 MB, free: 9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002266/0.01233, allocations: 247.3 kB / 281.7 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006014/0.01293, allocations: 0.4981 MB / 282.2 MB, free: 8.258 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.01294, allocations: 0 / 282.2 MB, free: 8.258 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01294, allocations: 3.938 kB / 282.2 MB, free: 8.254 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.01295, allocations: 0 / 282.2 MB, free: 8.254 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001384/0.01433, allocations: 1.053 MB / 283.3 MB, free: 7.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.01437, allocations: 23.92 kB / 283.3 MB, free: 7.137 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002936/0.01467, allocations: 136.5 kB / 283.5 MB, free: 7.004 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004851/0.01515, allocations: 358.4 kB / 283.8 MB, free: 6.625 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/0.01519, allocations: 45.69 kB / 283.8 MB, free: 6.578 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.818e-05/0.01527, allocations: 56.38 kB / 283.9 MB, free: 6.523 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000612/0.01588, allocations: 0.5325 MB / 284.4 MB, free: 5.938 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.0159, allocations: 192 / 284.4 MB, free: 5.938 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.662e-05/0.01595, allocations: 27.94 kB / 284.5 MB, free: 5.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.01596, allocations: 12 kB / 284.5 MB, free: 5.898 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003121/0.01628, allocations: 161 kB / 284.6 MB, free: 5.738 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/0.01859, allocations: 1.44 MB / 286.1 MB, free: 4.238 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005176/0.01911, allocations: 283.9 kB / 286.4 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006474/0.01976, allocations: 351.3 kB / 286.7 MB, free: 3.602 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.01979, allocations: 12 kB / 286.7 MB, free: 3.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004119/0.0202, allocations: 455.9 kB / 287.2 MB, free: 3.047 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 2.334e-06/0.0202, allocations: 4 kB / 287.2 MB, free: 3.043 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001845/0.02205, allocations: 0.7226 MB / 287.9 MB, free: 2.309 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.332e-05/0.02214, allocations: 235.3 kB / 288.1 MB, free: 2.023 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.02252, allocations: 442.3 kB / 288.5 MB, free: 1.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.02255, allocations: 33.7 kB / 288.6 MB, free: 1.531 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000218/0.02277, allocations: 367.4 kB / 288.9 MB, free: 1.168 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.02288, allocations: 158.7 kB / 289.1 MB, free: 1.012 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.02302, allocations: 103.9 kB / 289.2 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.02319, allocations: 0.5351 MB / 289.7 MB, free: 364 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.0233, allocations: 57.27 kB / 289.8 MB, free: 304 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1171/0.1404, allocations: 458.5 kB / 290.2 MB, free: 25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.1407, allocations: 313.9 kB / 290.5 MB, free: 24.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1407, allocations: 1.031 kB / 290.5 MB, free: 24.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007206/0.1414, allocations: 0.4918 MB / 291 MB, free: 24.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1414, allocations: 7.781 kB / 291 MB, free: 24.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1414, allocations: 3.125 kB / 291 MB, free: 24.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006085/0.142, allocations: 259 kB / 291.3 MB, free: 24.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.1422, allocations: 82.84 kB / 291.4 MB, free: 24.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.1439, allocations: 2.784 MB / 294.2 MB, free: 22.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.1441, allocations: 76.69 kB / 294.2 MB, free: 22.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.1441, allocations: 15.36 kB / 294.2 MB, free: 22.79 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.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.1443, allocations: 194.1 kB / 294.4 MB, free: 22.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.632e-05/0.1443, allocations: 63.14 kB / 294.5 MB, free: 22.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.54e-05/0.1444, allocations: 58.84 kB / 294.6 MB, free: 22.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.1444, allocations: 4.406 kB / 294.6 MB, free: 22.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.1444, allocations: 0 / 294.6 MB, free: 22.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.1444, allocations: 3.797 kB / 294.6 MB, free: 22.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008934/0.1453, allocations: 0.8307 MB / 295.4 MB, free: 22.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1453, allocations: 1.094 kB / 295.4 MB, free: 22.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.1454, allocations: 47.34 kB / 295.4 MB, free: 22.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005409/0.1459, allocations: 250.2 kB / 295.7 MB, free: 22.28 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.1459, allocations: 11.12 kB / 295.7 MB, free: 22.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/0.1474, allocations: 2.795 MB / 298.5 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1474, allocations: 1.156 kB / 298.5 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000638/0.1481, allocations: 0.6126 MB / 299.1 MB, free: 20.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.1481, allocations: 54.47 kB / 299.2 MB, free: 19.99 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.1481, allocations: 11.59 kB / 299.2 MB, free: 19.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.1483, allocations: 40.58 kB / 299.2 MB, free: 19.99 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.1484, allocations: 41.72 kB / 299.2 MB, free: 19.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.1484, allocations: 10.67 kB / 299.3 MB, free: 19.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001517/0.1485, allocations: 274.7 kB / 299.5 MB, free: 19.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1485, allocations: 0.6562 kB / 299.5 MB, free: 19.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004577/0.149, allocations: 186 kB / 299.7 MB, free: 19.84 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,rootMeanSquare.mean.y_last,opAmp.satNeg,opAmp.satPos) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001055/0.1491, allocations: 116 kB / 299.8 MB, free: 19.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004922/0.1496, allocations: 0.4943 MB / 300.3 MB, free: 19.53 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1496, allocations: 3.5 kB / 300.3 MB, free: 19.53 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002983/0.1499, allocations: 399 kB / 300.7 MB, free: 19.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.1502, allocations: 70.83 kB / 300.8 MB, free: 19.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.1515, allocations: 0.9721 MB / 301.8 MB, free: 18.86 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.1516, allocations: 132.4 kB / 301.9 MB, free: 18.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.1518, allocations: 49 kB / 301.9 MB, free: 18.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.152, allocations: 170 kB / 302.1 MB, free: 18.71 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.152, allocations: 1.625 kB / 302.1 MB, free: 18.71 MB / 266.7 MB Notification: Performance of Templates: time 0.009661/0.1616, allocations: 7.361 MB / 309.5 MB, free: 15.76 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9285323191434145]