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.001225/0.001225, allocations: 83.67 kB / 21.7 MB, free: 2.844 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.0009809/0.0009809, allocations: 162.9 kB / 24.99 MB, free: 9.277 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.9599/0.9599, allocations: 177 MB / 205.2 MB, free: 5.594 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.164e-06/2.164e-06, allocations: 0 / 273 MB, free: 1.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.144e-05/3.36e-05, allocations: 5.266 kB / 273.1 MB, free: 1.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.004577/0.00461, allocations: 4.443 MB / 277.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.006568, allocations: 1.23 MB / 278.7 MB, free: 12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003208/0.006889, allocations: 15.94 kB / 278.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003958/0.007285, allocations: 142.7 kB / 278.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003889/0.007674, allocations: 226 kB / 279.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.008072, allocations: 203.5 kB / 279.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008399/0.008912, allocations: 0.7937 MB / 280.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002847/0.009196, allocations: 187 kB / 280.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000463/0.009659, allocations: 439 kB / 280.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002817/0.009941, allocations: 255.2 kB / 281 MB, free: 9.758 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.711e-05/0.01001, allocations: 64 kB / 281 MB, free: 9.695 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.85e-05/0.01011, allocations: 68 kB / 281.1 MB, free: 9.629 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.199e-05/0.0102, allocations: 159.3 kB / 281.2 MB, free: 9.473 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.01038, allocations: 243.4 kB / 281.5 MB, free: 9.234 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000472/0.01085, allocations: 0.5058 MB / 282 MB, free: 8.727 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.01085, allocations: 0 / 282 MB, free: 8.727 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01085, allocations: 0 / 282 MB, free: 8.727 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.01086, allocations: 0 / 282 MB, free: 8.727 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.001102/0.01196, allocations: 1.049 MB / 283 MB, free: 7.637 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.012, allocations: 11.98 kB / 283 MB, free: 7.625 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002283/0.01223, allocations: 140.5 kB / 283.2 MB, free: 7.488 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.01264, allocations: 362.4 kB / 283.5 MB, free: 7.105 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.01267, allocations: 45.69 kB / 283.6 MB, free: 7.059 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/0.01273, allocations: 60.38 kB / 283.6 MB, free: 7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005241/0.01325, allocations: 0.5638 MB / 284.2 MB, free: 6.383 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.01327, allocations: 192 / 284.2 MB, free: 6.383 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/0.0133, allocations: 27.94 kB / 284.2 MB, free: 6.355 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.01332, allocations: 16 kB / 284.2 MB, free: 6.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000312/0.01363, allocations: 211.7 kB / 284.5 MB, free: 6.133 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.01537, allocations: 1.506 MB / 286 MB, free: 4.559 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004796/0.01585, allocations: 323.8 kB / 286.3 MB, free: 4.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005028/0.01635, allocations: 367.3 kB / 286.6 MB, free: 3.867 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.01638, allocations: 8 kB / 286.6 MB, free: 3.859 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006608/0.01704, allocations: 463.9 kB / 287.1 MB, free: 3.309 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.883e-06/0.01704, allocations: 0 / 287.1 MB, free: 3.309 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001412/0.01845, allocations: 0.7811 MB / 287.9 MB, free: 2.516 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/0.01854, allocations: 239.3 kB / 288.1 MB, free: 2.227 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.01885, allocations: 446.5 kB / 288.5 MB, free: 1.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.01887, allocations: 33.7 kB / 288.6 MB, free: 1.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.01903, allocations: 367.4 kB / 288.9 MB, free: 1.367 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.635e-05/0.0191, allocations: 154.7 kB / 289.1 MB, free: 1.215 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.0192, allocations: 104 kB / 289.2 MB, free: 1.105 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.01933, allocations: 0.5274 MB / 289.7 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.01944, allocations: 73.27 kB / 289.8 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.0197, allocations: 487.9 kB / 290.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.02, allocations: 339.1 kB / 290.6 MB, free: 15.49 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.02, allocations: 4 kB / 290.6 MB, free: 15.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0006418/0.02065, allocations: 0.5396 MB / 291.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.02066, allocations: 4 kB / 291.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.02067, allocations: 4 kB / 291.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006173/0.02129, allocations: 263.3 kB / 291.4 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.02146, allocations: 83.89 kB / 291.5 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.0238, allocations: 2.867 MB / 294.4 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.02402, allocations: 79.48 kB / 294.4 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.02404, allocations: 20 kB / 294.4 MB, free: 11.49 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.0001294/0.02417, allocations: 196.4 kB / 294.6 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.659e-05/0.02422, allocations: 67.67 kB / 294.7 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.485e-05/0.02428, allocations: 56.81 kB / 294.8 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.02428, allocations: 4 kB / 294.8 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.02428, allocations: 0 / 294.8 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.02429, allocations: 7.922 kB / 294.8 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000947/0.02524, allocations: 0.9248 MB / 295.7 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.02524, allocations: 0 / 295.7 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.02536, allocations: 39.92 kB / 295.7 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005375/0.0259, allocations: 262.8 kB / 296 MB, free: 9.887 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.02591, allocations: 12 kB / 296 MB, free: 9.875 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.02777, allocations: 2.879 MB / 298.9 MB, free: 6.879 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.02777, allocations: 4 kB / 298.9 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006837/0.02845, allocations: 0.6696 MB / 299.6 MB, free: 6.176 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.0285, allocations: 51.58 kB / 299.6 MB, free: 6.125 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.02854, allocations: 8 kB / 299.6 MB, free: 6.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.02869, allocations: 39.97 kB / 299.7 MB, free: 6.078 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.02876, allocations: 35.95 kB / 299.7 MB, free: 6.043 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.02877, allocations: 20 kB / 299.7 MB, free: 6.023 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001889/0.02896, allocations: 299 kB / 300 MB, free: 5.734 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02896, allocations: 0 / 300 MB, free: 5.734 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004036/0.02937, allocations: 195.6 kB / 300.2 MB, free: 5.543 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.0001159/0.02948, allocations: 107.2 kB / 300.3 MB, free: 5.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005968/0.03008, allocations: 0.5222 MB / 300.8 MB, free: 4.891 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.03008, allocations: 0 / 300.8 MB, free: 4.891 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.03042, allocations: 414 kB / 301.2 MB, free: 4.465 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000573/0.03099, allocations: 73.56 kB / 301.3 MB, free: 4.395 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.0325, allocations: 0.9794 MB / 302.3 MB, free: 3.375 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.759e-05/0.03259, allocations: 138 kB / 302.4 MB, free: 3.219 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.0327, allocations: 48.47 kB / 302.5 MB, free: 3.172 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.868e-05/0.03276, allocations: 32.5 kB / 302.5 MB, free: 3.141 MB / 282.7 MB Notification: Performance of SimCode: time 9.21e-07/0.03276, allocations: 0 / 302.5 MB, free: 3.141 MB / 282.7 MB Notification: Performance of Templates: time 0.1075/0.1402, allocations: 6.964 MB / 309.5 MB, free: 41.57 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.1150159060489386]