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.002018/0.002018, allocations: 99.53 kB / 20.97 MB, free: 3.449 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.00211/0.00211, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 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 1.547/1.547, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.344e-06/2.344e-06, allocations: 0 / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.372e-05/3.607e-05, allocations: 2.312 kB / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.01125/0.01128, allocations: 4.407 MB / 276.7 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004077/0.01536, allocations: 1.234 MB / 277.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004899/0.01585, allocations: 19.88 kB / 277.9 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006788/0.01653, allocations: 138.7 kB / 278 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007498/0.01728, allocations: 214.2 kB / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007683/0.01804, allocations: 211.4 kB / 278.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001898/0.01994, allocations: 0.7897 MB / 279.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005746/0.02052, allocations: 187 kB / 279.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.02152, allocations: 450.9 kB / 279.9 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006864/0.02221, allocations: 251.2 kB / 280.1 MB, free: 9.855 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.02238, allocations: 64 kB / 280.2 MB, free: 9.793 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.02263, allocations: 72 kB / 280.2 MB, free: 9.723 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002444/0.02287, allocations: 151.3 kB / 280.4 MB, free: 9.574 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004735/0.02334, allocations: 243.4 kB / 280.6 MB, free: 9.336 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.02492, allocations: 0.7787 MB / 281.4 MB, free: 8.555 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.02492, allocations: 0 / 281.4 MB, free: 8.555 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.02492, allocations: 0 / 281.4 MB, free: 8.555 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.02493, allocations: 0 / 281.4 MB, free: 8.555 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.002959/0.02789, allocations: 1.123 MB / 282.5 MB, free: 7.391 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.02794, allocations: 11.98 kB / 282.5 MB, free: 7.379 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005615/0.02851, allocations: 140.5 kB / 282.7 MB, free: 7.242 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.02951, allocations: 370.4 kB / 283 MB, free: 6.852 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.566e-05/0.02958, allocations: 49.69 kB / 283.1 MB, free: 6.801 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.02973, allocations: 56.38 kB / 283.2 MB, free: 6.746 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.03146, allocations: 0.6607 MB / 283.8 MB, free: 6.035 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.03149, allocations: 192 / 283.8 MB, free: 6.035 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-05/0.03158, allocations: 31.92 kB / 283.8 MB, free: 6.004 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.03161, allocations: 12 kB / 283.9 MB, free: 5.992 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.03297, allocations: 369.1 kB / 284.2 MB, free: 5.629 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004973/0.03794, allocations: 1.697 MB / 285.9 MB, free: 3.863 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008155/0.03875, allocations: 378.3 kB / 286.3 MB, free: 3.488 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.03985, allocations: 419.3 kB / 286.7 MB, free: 3.074 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/0.03989, allocations: 8 kB / 286.7 MB, free: 3.066 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007034/0.04059, allocations: 0.5195 MB / 287.2 MB, free: 2.449 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 2.003e-06/0.0406, allocations: 0 / 287.2 MB, free: 2.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.002906/0.0435, allocations: 0.9062 MB / 288.1 MB, free: 1.531 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000178/0.04368, allocations: 243.3 kB / 288.4 MB, free: 1.238 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006902/0.04437, allocations: 0.5181 MB / 288.9 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.04442, allocations: 41.7 kB / 288.9 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/0.04475, allocations: 387.4 kB / 289.3 MB, free: 276 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.0449, allocations: 158.7 kB / 289.5 MB, free: 116 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1212/0.1661, allocations: 111.3 kB / 289.6 MB, free: 28.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.1663, allocations: 0.5477 MB / 290.1 MB, free: 27.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/0.1667, allocations: 126.7 kB / 290.2 MB, free: 27.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004462/0.1672, allocations: 0.5395 MB / 290.8 MB, free: 27.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006348/0.1678, allocations: 468.8 kB / 291.2 MB, free: 27.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.1678, allocations: 1.312 kB / 291.2 MB, free: 27.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001381/0.1692, allocations: 0.6538 MB / 291.9 MB, free: 26.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.1692, allocations: 6.812 kB / 291.9 MB, free: 26.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.1692, allocations: 5.328 kB / 291.9 MB, free: 26.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.1704, allocations: 278.3 kB / 292.2 MB, free: 26.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.1708, allocations: 85.14 kB / 292.3 MB, free: 26.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003507/0.1743, allocations: 3.264 MB / 295.5 MB, free: 24.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004714/0.1747, allocations: 73.3 kB / 295.6 MB, free: 24.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.1748, allocations: 19.8 kB / 295.6 MB, free: 24.67 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.0002279/0.175, allocations: 238 kB / 295.8 MB, free: 24.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.1751, allocations: 68.52 kB / 295.9 MB, free: 24.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.1752, allocations: 53.84 kB / 296 MB, free: 24.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1752, allocations: 4.312 kB / 296 MB, free: 24.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1752, allocations: 1.312 kB / 296 MB, free: 24.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.1753, allocations: 2.875 kB / 296 MB, free: 24.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.177, allocations: 1.121 MB / 297.1 MB, free: 23.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.177, allocations: 4.531 kB / 297.1 MB, free: 23.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.1772, allocations: 48.94 kB / 297.1 MB, free: 23.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001105/0.1784, allocations: 274.3 kB / 297.4 MB, free: 23.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.1784, allocations: 6.219 kB / 297.4 MB, free: 23.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003213/0.1816, allocations: 3.305 MB / 300.7 MB, free: 21.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1816, allocations: 5.641 kB / 300.7 MB, free: 21.19 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.1829, allocations: 0.8393 MB / 301.6 MB, free: 20.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.183, allocations: 61.73 kB / 301.6 MB, free: 20.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.081e-05/0.1831, allocations: 11.91 kB / 301.6 MB, free: 20.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/0.1835, allocations: 41.64 kB / 301.7 MB, free: 20.71 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.1836, allocations: 42.81 kB / 301.7 MB, free: 20.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/0.1836, allocations: 13.22 kB / 301.7 MB, free: 20.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003493/0.1839, allocations: 346.5 kB / 302.1 MB, free: 20.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1839, allocations: 0 / 302.1 MB, free: 20.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007085/0.1846, allocations: 187.9 kB / 302.3 MB, free: 20.48 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.0001294/0.1848, allocations: 112.2 kB / 302.4 MB, free: 20.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.1859, allocations: 0.6331 MB / 303 MB, free: 20.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.1859, allocations: 1.375 kB / 303 MB, free: 20.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006435/0.1866, allocations: 455.9 kB / 303.4 MB, free: 19.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.1871, allocations: 74.7 kB / 303.5 MB, free: 19.74 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.1891, allocations: 1.039 MB / 304.6 MB, free: 19.19 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.1894, allocations: 269.8 kB / 304.8 MB, free: 19.08 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001865/0.1896, allocations: 46.86 kB / 304.9 MB, free: 19.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.062e-05/0.1897, allocations: 33.05 kB / 304.9 MB, free: 19.06 MB / 266.7 MB Notification: Performance of SimCode: time 1.223e-06/0.1897, allocations: 0 / 304.9 MB, free: 19.06 MB / 266.7 MB Notification: Performance of Templates: time 0.01183/0.2015, allocations: 6.965 MB / 311.9 MB, free: 14.28 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.856551088043489]