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.001036/0.001036, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001159/0.001159, allocations: 160.5 kB / 24.55 MB, free: 12 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.116/1.116, allocations: 177 MB / 204.8 MB, free: 5.559 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 2.013e-06/2.013e-06, allocations: 0 / 273 MB, free: 1.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.906e-05, allocations: 2.312 kB / 273 MB, free: 1.383 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.00404/0.004069, allocations: 4.465 MB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.005649, allocations: 1.23 MB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002024/0.005852, allocations: 15.94 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.006205, allocations: 142.7 kB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003076/0.006512, allocations: 226 kB / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.006851, allocations: 207.5 kB / 279.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005325/0.007384, allocations: 0.7899 MB / 280 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002779/0.007661, allocations: 183 kB / 280.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000416/0.008077, allocations: 446.9 kB / 280.6 MB, free: 9.656 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.008361, allocations: 255.2 kB / 280.9 MB, free: 9.406 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.741e-05/0.008428, allocations: 64 kB / 281 MB, free: 9.344 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.008535, allocations: 71.98 kB / 281 MB, free: 9.273 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.547e-05/0.008631, allocations: 151.4 kB / 281.2 MB, free: 9.125 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.008801, allocations: 243.2 kB / 281.4 MB, free: 8.891 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004791/0.00928, allocations: 0.502 MB / 281.9 MB, free: 8.387 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.009284, allocations: 3.938 kB / 281.9 MB, free: 8.383 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.009285, allocations: 0 / 281.9 MB, free: 8.383 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.009294, allocations: 3.984 kB / 281.9 MB, free: 8.379 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.001148/0.01044, allocations: 1.045 MB / 283 MB, free: 7.293 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.01048, allocations: 15.97 kB / 283 MB, free: 7.277 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/0.01074, allocations: 140.5 kB / 283.1 MB, free: 7.141 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004397/0.01118, allocations: 362.4 kB / 283.5 MB, free: 6.758 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.01121, allocations: 45.69 kB / 283.5 MB, free: 6.711 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/0.01127, allocations: 56.38 kB / 283.6 MB, free: 6.656 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005506/0.01182, allocations: 0.5677 MB / 284.1 MB, free: 6.035 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.01184, allocations: 192 / 284.1 MB, free: 6.035 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.707e-05/0.01188, allocations: 27.94 kB / 284.2 MB, free: 6.008 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.01189, allocations: 12 kB / 284.2 MB, free: 5.996 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.0122, allocations: 215.7 kB / 284.4 MB, free: 5.785 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.014, allocations: 1.502 MB / 285.9 MB, free: 4.215 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004768/0.01448, allocations: 315.9 kB / 286.2 MB, free: 3.895 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005013/0.01498, allocations: 371.2 kB / 286.6 MB, free: 3.527 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.01501, allocations: 8 kB / 286.6 MB, free: 3.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000329/0.01534, allocations: 471.9 kB / 287 MB, free: 2.961 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.483e-06/0.01534, allocations: 4 kB / 287 MB, free: 2.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0014/0.01674, allocations: 0.7656 MB / 287.8 MB, free: 2.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/0.01682, allocations: 247.3 kB / 288 MB, free: 1.883 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.01713, allocations: 442.5 kB / 288.5 MB, free: 1.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.01729, allocations: 29.7 kB / 288.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.01745, allocations: 371.4 kB / 288.9 MB, free: 1.027 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.97e-05/0.01753, allocations: 158.7 kB / 289 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.01764, allocations: 99.95 kB / 289.1 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.01777, allocations: 0.5235 MB / 289.6 MB, free: 236 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.01788, allocations: 77.25 kB / 289.7 MB, free: 156 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.01814, allocations: 483.9 kB / 290.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.01845, allocations: 343.1 kB / 290.5 MB, free: 15.15 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.01846, allocations: 0 / 290.5 MB, free: 15.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0006524/0.01911, allocations: 0.5318 MB / 291.1 MB, free: 14.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.01913, allocations: 10.81 kB / 291.1 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.01914, allocations: 7.984 kB / 291.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006316/0.01977, allocations: 259.3 kB / 291.3 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.01995, allocations: 87.83 kB / 291.4 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/0.02213, allocations: 2.881 MB / 294.3 MB, free: 11.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.02235, allocations: 79.53 kB / 294.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.02237, allocations: 20 kB / 294.4 MB, free: 11.14 MB / 282.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.0001469/0.02252, allocations: 196.3 kB / 294.6 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/0.02258, allocations: 67.67 kB / 294.6 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.311e-05/0.02263, allocations: 56.8 kB / 294.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.02263, allocations: 8 kB / 294.7 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.02264, allocations: 0 / 294.7 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.02264, allocations: 3.938 kB / 294.7 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.02375, allocations: 0.917 MB / 295.6 MB, free: 9.844 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.02375, allocations: 4 kB / 295.6 MB, free: 9.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.02387, allocations: 47.91 kB / 295.7 MB, free: 9.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005457/0.02441, allocations: 262.8 kB / 295.9 MB, free: 9.535 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.02443, allocations: 4 kB / 295.9 MB, free: 9.531 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001943/0.02637, allocations: 2.882 MB / 298.8 MB, free: 6.531 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.02637, allocations: 8 kB / 298.8 MB, free: 6.523 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007066/0.02708, allocations: 0.6696 MB / 299.5 MB, free: 5.824 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.02714, allocations: 51.58 kB / 299.6 MB, free: 5.773 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.02717, allocations: 12 kB / 299.6 MB, free: 5.762 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.02733, allocations: 31.98 kB / 299.6 MB, free: 5.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/0.02741, allocations: 43.95 kB / 299.6 MB, free: 5.688 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.02742, allocations: 11.98 kB / 299.7 MB, free: 5.676 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001966/0.02762, allocations: 291 kB / 299.9 MB, free: 5.395 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02762, allocations: 4 kB / 299.9 MB, free: 5.391 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004543/0.02807, allocations: 191.6 kB / 300.1 MB, free: 5.203 MB / 282.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.00013/0.0282, allocations: 115.2 kB / 300.2 MB, free: 5.082 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006475/0.02885, allocations: 0.5222 MB / 300.8 MB, free: 4.543 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.02885, allocations: 0 / 300.8 MB, free: 4.543 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.02919, allocations: 414 kB / 301.2 MB, free: 4.117 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.02953, allocations: 68.89 kB / 301.2 MB, free: 4.055 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.03106, allocations: 0.9832 MB / 302.2 MB, free: 3.031 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.842e-05/0.03115, allocations: 138.1 kB / 302.4 MB, free: 2.875 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.03127, allocations: 48.47 kB / 302.4 MB, free: 2.828 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.51e-05/0.03133, allocations: 36.5 kB / 302.4 MB, free: 2.793 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.03133, allocations: 0 / 302.4 MB, free: 2.793 MB / 282.7 MB Notification: Performance of Templates: time 0.1047/0.136, allocations: 6.954 MB / 309.4 MB, free: 38.04 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 -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: 3.092875337228179]