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.000824/0.000824, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001076/0.0019, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007388/0.0007388, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009364/0.001675, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.018/1.018, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09359/1.111, allocations: 53.87 MB / 243.7 MB, free: 14.9 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.004e-06/2.004e-06, allocations: 0 / 245.1 MB, free: 13.6 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.45e-05, allocations: 2.312 kB / 245.1 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.004047/0.004071, allocations: 4.462 MB / 249.5 MB, free: 9.109 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.006252, allocations: 1.281 MB / 250.8 MB, free: 7.824 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003352/0.006587, allocations: 11.94 kB / 250.8 MB, free: 7.812 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.006926, allocations: 146.6 kB / 251 MB, free: 7.668 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004815/0.007407, allocations: 226 kB / 251.2 MB, free: 7.445 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005459/0.007953, allocations: 203.5 kB / 251.4 MB, free: 7.246 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007569/0.00871, allocations: 0.7899 MB / 252.2 MB, free: 6.453 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003189/0.009029, allocations: 192.9 kB / 252.4 MB, free: 6.262 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007489/0.009778, allocations: 0.5039 MB / 252.9 MB, free: 5.758 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003361/0.01011, allocations: 243.2 kB / 253.1 MB, free: 5.52 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.57e-05/0.01019, allocations: 72 kB / 253.2 MB, free: 5.449 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.01032, allocations: 71.94 kB / 253.2 MB, free: 5.379 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.485e-05/0.0104, allocations: 107.6 kB / 253.3 MB, free: 5.273 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.01059, allocations: 195.6 kB / 253.5 MB, free: 5.082 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005543/0.01115, allocations: 470.2 kB / 254 MB, free: 4.621 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.207e-05/0.01117, allocations: 0 / 254 MB, free: 4.621 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.01117, allocations: 0 / 254 MB, free: 4.621 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.767e-05/0.0112, allocations: 3.938 kB / 254 MB, free: 4.617 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.001398/0.0126, allocations: 1.002 MB / 255 MB, free: 3.59 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.01263, allocations: 8.031 kB / 255 MB, free: 3.582 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000303/0.01294, allocations: 193.9 kB / 255.2 MB, free: 3.375 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.01332, allocations: 295.6 kB / 255.5 MB, free: 3.059 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.01336, allocations: 41.69 kB / 255.5 MB, free: 3.016 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.495e-05/0.01341, allocations: 64.38 kB / 255.6 MB, free: 2.953 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004517/0.01386, allocations: 0.5364 MB / 256.1 MB, free: 2.359 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.01388, allocations: 4.172 kB / 256.1 MB, free: 2.355 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.01391, allocations: 35.92 kB / 256.2 MB, free: 2.32 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.01392, allocations: 12 kB / 256.2 MB, free: 2.309 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.01409, allocations: 133.1 kB / 256.3 MB, free: 2.18 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.01561, allocations: 1.18 MB / 257.5 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.01596, allocations: 267.1 kB / 257.7 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003869/0.01634, allocations: 337.2 kB / 258.1 MB, free: 356 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.01637, allocations: 8 kB / 258.1 MB, free: 348 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003155/0.01669, allocations: 435.5 kB / 258.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 2.665e-06/0.01669, allocations: 4 kB / 258.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001309/0.018, allocations: 0.7511 MB / 259.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.01804, allocations: 59.41 kB / 259.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.01827, allocations: 371.2 kB / 259.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.0183, allocations: 37.7 kB / 259.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.01842, allocations: 277.6 kB / 260 MB, free: 14.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.495e-05/0.0185, allocations: 154.7 kB / 260.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.516e-05/0.01859, allocations: 98.25 kB / 260.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.01869, allocations: 362.7 kB / 260.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-05/0.01875, allocations: 53.3 kB / 260.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.01894, allocations: 397.7 kB / 261 MB, free: 13.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.01916, allocations: 272.3 kB / 261.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.01917, allocations: 4 kB / 261.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0005039/0.01967, allocations: 438.6 kB / 261.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.01969, allocations: 8.281 kB / 261.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.0197, allocations: 8 kB / 261.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005878/0.02029, allocations: 268 kB / 262 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.02045, allocations: 83.78 kB / 262.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.02252, allocations: 2.195 MB / 264.3 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.02277, allocations: 83.52 kB / 264.4 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.02278, allocations: 20.03 kB / 264.4 MB, free: 9.637 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.0001493/0.02293, allocations: 152.4 kB / 264.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.02298, allocations: 47.94 kB / 264.6 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.446e-05/0.02303, allocations: 56.81 kB / 264.6 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.02303, allocations: 4 kB / 264.6 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.02304, allocations: 0 / 264.6 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.02304, allocations: 3.984 kB / 264.6 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009547/0.024, allocations: 0.672 MB / 265.3 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.024, allocations: 0 / 265.3 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.62e-05/0.0241, allocations: 39.97 kB / 265.4 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/0.02415, allocations: 51.55 kB / 265.4 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005295/0.02468, allocations: 276.5 kB / 265.7 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.0247, allocations: 4 kB / 265.7 MB, free: 8.297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/0.02634, allocations: 2.185 MB / 267.9 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.02634, allocations: 3.938 kB / 267.9 MB, free: 6.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005347/0.02687, allocations: 0.5143 MB / 268.4 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.02692, allocations: 4 kB / 268.4 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.02706, allocations: 44 kB / 268.4 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-05/0.02714, allocations: 39.86 kB / 268.5 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.02715, allocations: 12 kB / 268.5 MB, free: 5.387 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001164/0.02727, allocations: 152.7 kB / 268.6 MB, free: 5.238 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.02727, allocations: 0 / 268.6 MB, free: 5.238 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004545/0.02772, allocations: 199.6 kB / 268.8 MB, free: 5.043 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.0003805/0.0281, allocations: 92.36 kB / 268.9 MB, free: 4.941 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005535/0.02866, allocations: 452.9 kB / 269.4 MB, free: 4.488 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.061e-05/0.02868, allocations: 12.81 kB / 269.4 MB, free: 4.477 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.02899, allocations: 373.4 kB / 269.7 MB, free: 4.098 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.02927, allocations: 111.2 kB / 269.8 MB, free: 3.988 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004038/0.03331, allocations: 1.016 MB / 270.9 MB, free: 2.938 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.03344, allocations: 134.1 kB / 271 MB, free: 2.785 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001446/0.03358, allocations: 48.25 kB / 271 MB, free: 2.734 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.03376, allocations: 139.3 kB / 271.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of SimCode: time 2.014e-06/0.03376, allocations: 0 / 271.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of Templates: time 0.01068/0.04444, allocations: 7.966 MB / 279.1 MB, free: 10.73 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.753272198140621]