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.001752/0.001752, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.00213/0.00213, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 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.631/1.631, allocations: 230.3 MB / 258 MB, free: 8.246 MB / 206.1 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 0.001881/0.001881, allocations: 63.89 kB / 378.8 MB, free: 2.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3222, allocations: 53.37 MB / 432.2 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006272/0.3285, allocations: 4.522 MB / 436.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00257/0.331, allocations: 1.293 MB / 438 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003506/0.3314, allocations: 15.88 kB / 438 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000471/0.3319, allocations: 149.7 kB / 438.1 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004515/0.3323, allocations: 214.2 kB / 438.3 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.3328, allocations: 211.6 kB / 438.5 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008335/0.3336, allocations: 0.7631 MB / 439.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003778/0.334, allocations: 199 kB / 439.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004542/0.3345, allocations: 302.9 kB / 439.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004167/0.3349, allocations: 330.5 kB / 440.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.585e-05/0.335, allocations: 64 kB / 440.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.3351, allocations: 72 kB / 440.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.3353, allocations: 139.5 kB / 440.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003485/0.3357, allocations: 350.2 kB / 440.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008774/0.3365, allocations: 0.7544 MB / 441.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3365, allocations: 3.938 kB / 441.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3365, allocations: 0 / 441.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.3366, allocations: 4 kB / 441.5 MB, free: 13.68 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001951/0.3385, allocations: 0.9499 MB / 442.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3385, allocations: 8.031 kB / 442.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003329/0.3389, allocations: 104.4 kB / 442.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006249/0.3395, allocations: 360.2 kB / 442.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.459e-05/0.3395, allocations: 37.69 kB / 442.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.631e-05/0.3396, allocations: 56.38 kB / 443 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.3408, allocations: 0.5534 MB / 443.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.3408, allocations: 0 / 443.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.587e-05/0.3408, allocations: 24 kB / 443.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.3408, allocations: 16 kB / 443.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009539/0.3418, allocations: 421 kB / 444 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003211/0.345, allocations: 1.778 MB / 445.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008789/0.3459, allocations: 351.3 kB / 446.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.347, allocations: 425.7 kB / 446.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.3471, allocations: 4.328 kB / 446.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006071/0.3477, allocations: 294.2 kB / 446.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.533e-06/0.3477, allocations: 0 / 446.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.003783/0.3514, allocations: 1.11 MB / 447.9 MB, free: 7.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001735/0.3516, allocations: 239.3 kB / 448.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006159/0.3522, allocations: 445.8 kB / 448.6 MB, free: 6.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.417e-05/0.3523, allocations: 37.64 kB / 448.6 MB, free: 6.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.3525, allocations: 316.8 kB / 449 MB, free: 5.922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.3527, allocations: 146.8 kB / 449.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/0.3529, allocations: 94.19 kB / 449.2 MB, free: 5.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002414/0.3531, allocations: 362.7 kB / 449.5 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003774/0.3535, allocations: 144.9 kB / 449.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005415/0.354, allocations: 324.9 kB / 450 MB, free: 4.781 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008297/0.3549, allocations: 435.4 kB / 450.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.3549, allocations: 4 kB / 450.4 MB, free: 4.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001911/0.3568, allocations: 0.7519 MB / 451.2 MB, free: 3.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3568, allocations: 6.5 kB / 451.2 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.3568, allocations: 4 kB / 451.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006839/0.3575, allocations: 192.8 kB / 451.4 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/0.3579, allocations: 83.89 kB / 451.5 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004549/0.3624, allocations: 2.698 MB / 454.2 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005889/0.363, allocations: 75.64 kB / 454.2 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.363, allocations: 20 kB / 454.3 MB, free: 368 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002978/0.3633, allocations: 181.8 kB / 454.4 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.99e-05/0.3634, allocations: 51.67 kB / 454.5 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.3635, allocations: 56.95 kB / 454.5 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3635, allocations: 7.938 kB / 454.6 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3635, allocations: 0 / 454.6 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3635, allocations: 3.984 kB / 454.6 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/0.366, allocations: 1.23 MB / 455.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.366, allocations: 4 kB / 455.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/0.3662, allocations: 43.97 kB / 455.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006154/0.3668, allocations: 184.7 kB / 456 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.3669, allocations: 12 kB / 456 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004391/0.3713, allocations: 2.673 MB / 458.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3713, allocations: 0 / 458.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/0.3734, allocations: 0.9143 MB / 459.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.3736, allocations: 51.62 kB / 459.7 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/0.3736, allocations: 12 kB / 459.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/0.374, allocations: 35.97 kB / 459.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.279e-05/0.3741, allocations: 35.88 kB / 459.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.3741, allocations: 16.06 kB / 459.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004226/0.3746, allocations: 315.1 kB / 460.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3746, allocations: 0 / 460.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007422/0.3753, allocations: 179.7 kB / 460.2 MB, free: 10.18 MB / 366.1 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: 2 ($whenCondition1,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 (25): * Single equations (assignments): 23 * 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,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000173/0.3755, allocations: 107.1 kB / 460.3 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.3768, allocations: 0.5655 MB / 460.9 MB, free: 9.488 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3768, allocations: 0 / 460.9 MB, free: 9.488 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006954/0.3775, allocations: 374.2 kB / 461.3 MB, free: 9.109 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005313/0.378, allocations: 92.08 kB / 461.4 MB, free: 9.023 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.3798, allocations: 0.9291 MB / 462.3 MB, free: 8.066 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.3803, allocations: 0.8633 MB / 463.2 MB, free: 7.172 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001906/0.3805, allocations: 52.55 kB / 463.2 MB, free: 7.117 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.088e-05/0.3806, allocations: 31.44 kB / 463.2 MB, free: 7.086 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3806, allocations: 0 / 463.2 MB, free: 7.086 MB / 366.1 MB Notification: Performance of Templates: time 0.01501/0.3956, allocations: 7.777 MB / 471 MB, free: 15.38 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] 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: 5.049602510407567]