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.0009244/0.0009244, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001014/0.001014, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9708/0.9708, allocations: 177 MB / 205.2 MB, free: 5.043 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.563e-06/1.563e-06, allocations: 0 / 273.5 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.457e-05, allocations: 2.312 kB / 273.5 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.004431/0.004456, allocations: 4.435 MB / 277.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005455/0.009911, allocations: 1.277 MB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002927/0.0102, allocations: 15.88 kB / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.01058, allocations: 142.7 kB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003447/0.01403, allocations: 230 kB / 279.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.01444, allocations: 199.5 kB / 279.8 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006901/0.01513, allocations: 0.7899 MB / 280.6 MB, free: 9.859 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003193/0.01545, allocations: 193 kB / 280.7 MB, free: 9.664 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005906/0.01604, allocations: 442.9 kB / 281.2 MB, free: 9.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003795/0.01642, allocations: 259.2 kB / 281.4 MB, free: 8.977 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.402e-05/0.0165, allocations: 64 kB / 281.5 MB, free: 8.914 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003142/0.01964, allocations: 68 kB / 281.6 MB, free: 8.848 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.01975, allocations: 159.3 kB / 281.7 MB, free: 8.691 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000208/0.01996, allocations: 239.4 kB / 281.9 MB, free: 8.457 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005874/0.02055, allocations: 0.5058 MB / 282.4 MB, free: 7.949 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.02056, allocations: 0 / 282.4 MB, free: 7.949 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.02056, allocations: 0 / 282.4 MB, free: 7.949 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.02057, allocations: 0 / 282.4 MB, free: 7.949 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.001134/0.0217, allocations: 0.8738 MB / 283.3 MB, free: 7.051 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.02174, allocations: 11.98 kB / 283.3 MB, free: 7.039 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002592/0.022, allocations: 112.8 kB / 283.4 MB, free: 6.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/0.02242, allocations: 299.6 kB / 283.7 MB, free: 6.609 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.02245, allocations: 41.69 kB / 283.8 MB, free: 6.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003086/0.02554, allocations: 60.38 kB / 283.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005507/0.02609, allocations: 0.5403 MB / 284.4 MB, free: 5.914 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.02611, allocations: 4.172 kB / 284.4 MB, free: 5.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.02615, allocations: 27.94 kB / 284.4 MB, free: 5.883 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.02616, allocations: 16 kB / 284.4 MB, free: 5.867 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002226/0.02638, allocations: 137.1 kB / 284.6 MB, free: 5.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.02822, allocations: 1.164 MB / 285.7 MB, free: 4.516 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003423/0.03165, allocations: 266.1 kB / 286 MB, free: 4.246 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005171/0.03216, allocations: 348.4 kB / 286.3 MB, free: 3.902 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.03219, allocations: 7.984 kB / 286.3 MB, free: 3.895 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003393/0.03253, allocations: 431.6 kB / 286.8 MB, free: 3.387 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 2.856e-06/0.03254, allocations: 0 / 286.8 MB, free: 3.387 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001714/0.03425, allocations: 0.7472 MB / 287.5 MB, free: 2.629 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.876e-05/0.03434, allocations: 243.3 kB / 287.7 MB, free: 2.336 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003306/0.03764, allocations: 371.2 kB / 288.1 MB, free: 1.957 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.03768, allocations: 33.7 kB / 288.1 MB, free: 1.918 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.03782, allocations: 277.6 kB / 288.4 MB, free: 1.645 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.77e-05/0.03792, allocations: 154.7 kB / 288.6 MB, free: 1.492 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.03803, allocations: 98.25 kB / 288.6 MB, free: 1.391 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.03815, allocations: 362.7 kB / 289 MB, free: 1.027 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.126e-05/0.03823, allocations: 49.28 kB / 289.1 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.03848, allocations: 397.7 kB / 289.4 MB, free: 492 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.03877, allocations: 276.3 kB / 289.7 MB, free: 168 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.03877, allocations: 4 kB / 289.7 MB, free: 164 kB / 266.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.1238/0.1626, allocations: 430.2 kB / 290.1 MB, free: 25.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.1626, allocations: 7.281 kB / 290.1 MB, free: 25.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.1626, allocations: 4.875 kB / 290.1 MB, free: 25.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007354/0.1634, allocations: 274.8 kB / 290.4 MB, free: 25.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.1636, allocations: 77.31 kB / 290.5 MB, free: 25.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.1658, allocations: 2.191 MB / 292.7 MB, free: 23.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003773/0.1661, allocations: 72.61 kB / 292.8 MB, free: 23.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.1662, allocations: 16.28 kB / 292.8 MB, free: 23.91 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.0001869/0.1663, allocations: 152.2 kB / 292.9 MB, free: 23.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-05/0.1664, allocations: 44.83 kB / 293 MB, free: 23.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.728e-05/0.1665, allocations: 59.17 kB / 293 MB, free: 23.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1665, allocations: 5.359 kB / 293 MB, free: 23.78 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1665, allocations: 0.7031 kB / 293 MB, free: 23.78 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/0.1665, allocations: 3.781 kB / 293 MB, free: 23.78 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.1675, allocations: 0.6756 MB / 293.7 MB, free: 23.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1675, allocations: 0.5469 kB / 293.7 MB, free: 23.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.1677, allocations: 35.92 kB / 293.7 MB, free: 23.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007418/0.1684, allocations: 278 kB / 294 MB, free: 23.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.1684, allocations: 5.844 kB / 294 MB, free: 23.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/0.1704, allocations: 2.196 MB / 296.2 MB, free: 22.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1704, allocations: 0 / 296.2 MB, free: 22.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007027/0.1711, allocations: 0.5183 MB / 296.7 MB, free: 22.1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.1711, allocations: 47.41 kB / 296.8 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.1712, allocations: 15.2 kB / 296.8 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.1714, allocations: 36.95 kB / 296.8 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.359e-05/0.1715, allocations: 43.78 kB / 296.9 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.1715, allocations: 7.875 kB / 296.9 MB, free: 22.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001652/0.1716, allocations: 152.2 kB / 297 MB, free: 22.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1716, allocations: 0 / 297 MB, free: 22.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005738/0.1722, allocations: 199.4 kB / 297.2 MB, free: 22.03 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.0001071/0.1723, allocations: 87.47 kB / 297.3 MB, free: 21.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006266/0.1729, allocations: 458 kB / 297.8 MB, free: 21.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/0.173, allocations: 6.656 kB / 297.8 MB, free: 21.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004047/0.1734, allocations: 359.3 kB / 298.1 MB, free: 21.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.1737, allocations: 79.31 kB / 298.2 MB, free: 21.65 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.1753, allocations: 0.9661 MB / 299.2 MB, free: 21.2 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.1755, allocations: 136.2 kB / 299.3 MB, free: 21.12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001556/0.1756, allocations: 48.84 kB / 299.3 MB, free: 21.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.1758, allocations: 138.9 kB / 299.5 MB, free: 21.07 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1758, allocations: 4 kB / 299.5 MB, free: 21.06 MB / 266.7 MB Notification: Performance of Templates: time 0.01416/0.19, allocations: 7.598 MB / 307.1 MB, free: 18.07 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 -s gbode -gbm=radauIIA3 -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.771754050627351]