Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 116.1 kB / 18.46 MB, free: 4.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 216.3 kB / 21.42 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.54/1.54, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 47.94 kB / 374.2 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1101, allocations: 53.34 MB / 427.5 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.232/0.3421, allocations: 4.49 MB / 432 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003152/0.3452, allocations: 1.284 MB / 433.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007859/0.346, allocations: 15.38 kB / 433.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005744/0.3466, allocations: 148.1 kB / 433.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005704/0.3472, allocations: 210.8 kB / 433.7 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005508/0.3477, allocations: 213.2 kB / 433.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007279/0.3484, allocations: 0.7629 MB / 434.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003321/0.3488, allocations: 197.7 kB / 434.8 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000387/0.3491, allocations: 297.8 kB / 435.1 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003474/0.3495, allocations: 334.9 kB / 435.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.481e-05/0.3496, allocations: 64.03 kB / 435.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.3497, allocations: 69.53 kB / 435.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.3499, allocations: 151.1 kB / 435.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002846/0.3501, allocations: 344.6 kB / 436.1 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000903/0.351, allocations: 0.7562 MB / 436.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.351, allocations: 1.125 kB / 436.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.351, allocations: 1.828 kB / 436.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.3511, allocations: 0 / 436.8 MB, free: 7.273 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.001829/0.3529, allocations: 0.9778 MB / 437.8 MB, free: 6.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3529, allocations: 13.69 kB / 437.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003476/0.3533, allocations: 99.25 kB / 437.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/0.3538, allocations: 423.6 kB / 438.3 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/0.3539, allocations: 44.38 kB / 438.4 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.008e-05/0.3539, allocations: 56.52 kB / 438.4 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009704/0.3549, allocations: 0.5485 MB / 439 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.3549, allocations: 1.781 kB / 439 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.028e-05/0.355, allocations: 26.08 kB / 439 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.355, allocations: 12.94 kB / 439 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008681/0.3559, allocations: 427.5 kB / 439.4 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002943/0.3588, allocations: 1.827 MB / 441.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007737/0.3596, allocations: 0.4885 MB / 441.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.3606, allocations: 419.3 kB / 442.2 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.3607, allocations: 7.562 kB / 442.2 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005414/0.3612, allocations: 303.6 kB / 442.5 MB, free: 4.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.894e-06/0.3612, allocations: 1.125 kB / 442.5 MB, free: 4.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.004436/0.3657, allocations: 1.296 MB / 443.8 MB, free: 3.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.3657, allocations: 238.5 kB / 444 MB, free: 3.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005487/0.3663, allocations: 439.2 kB / 444.4 MB, free: 3.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.3663, allocations: 37.77 kB / 444.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.3665, allocations: 318.2 kB / 444.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.3666, allocations: 150.7 kB / 444.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.3668, allocations: 93.22 kB / 445 MB, free: 2.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.4e-05/0.3668, allocations: 356.7 kB / 445.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.3672, allocations: 152.4 kB / 445.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/0.3676, allocations: 326.4 kB / 445.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007147/0.3683, allocations: 448 kB / 446.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.3683, allocations: 8.969 kB / 446.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001776/0.3701, allocations: 0.774 MB / 447 MB, free: 1.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3701, allocations: 6.938 kB / 447.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.3701, allocations: 3.375 kB / 447.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007334/0.3709, allocations: 216.8 kB / 447.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.3712, allocations: 72.77 kB / 447.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005189/0.3763, allocations: 3.144 MB / 450.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006724/0.377, allocations: 84.02 kB / 450.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.3771, allocations: 20.33 kB / 450.6 MB, free: 15.28 MB / 366.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 (42): * Single equations (assignments): 41 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003322/0.3774, allocations: 185.8 kB / 450.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.384e-05/0.3775, allocations: 50.66 kB / 450.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.3776, allocations: 58.47 kB / 450.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3776, allocations: 3 kB / 450.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3776, allocations: 1.562 kB / 450.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.3776, allocations: 2.344 kB / 450.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/0.3803, allocations: 1.279 MB / 452.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3803, allocations: 1.344 kB / 452.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.3805, allocations: 31.17 kB / 452.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006926/0.3812, allocations: 218.2 kB / 452.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.3812, allocations: 15.2 kB / 452.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005064/0.3863, allocations: 3.048 MB / 455.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3863, allocations: 5.766 kB / 455.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.3886, allocations: 0.9276 MB / 456.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.3888, allocations: 133.8 kB / 456.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.318e-05/0.3889, allocations: 11.22 kB / 456.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/0.3893, allocations: 45.83 kB / 456.6 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.3894, allocations: 32.89 kB / 456.6 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.3894, allocations: 13.52 kB / 456.6 MB, free: 11.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004245/0.3898, allocations: 306 kB / 456.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3898, allocations: 0 / 456.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008376/0.3907, allocations: 187.4 kB / 457.1 MB, free: 11.4 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 (21): * Single equations (assignments): 19 * 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,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002142/0.3909, allocations: 117.7 kB / 457.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.3926, allocations: 0.6549 MB / 457.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.3926, allocations: 1 kB / 457.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007976/0.3934, allocations: 408.1 kB / 458.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005476/0.394, allocations: 91.52 kB / 458.4 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.3959, allocations: 0.9645 MB / 459.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005771/0.3965, allocations: 0.8631 MB / 460.2 MB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.3966, allocations: 42.12 kB / 460.2 MB, free: 9.492 MB / 366.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3966, allocations: 0 / 460.2 MB, free: 9.492 MB / 366.1 MB Notification: Performance of Templates: time 0.01708/0.4136, allocations: 8.492 MB / 468.7 MB, free: 5.141 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 8.17574404500192]