Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001377/0.001377, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.001438/0.001438, allocations: 217.3 kB / 24.54 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 258.3 MB, free: 8.012 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002543/0.002543, allocations: 60.03 kB / 379.1 MB, free: 2.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2786, allocations: 53.38 MB / 432.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006935/0.2855, allocations: 4.527 MB / 437 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002954/0.2885, allocations: 1.285 MB / 438.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003344/0.2888, allocations: 19.88 kB / 438.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000518/0.2893, allocations: 145.7 kB / 438.4 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005211/0.2899, allocations: 218.2 kB / 438.6 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006329/0.2905, allocations: 207.6 kB / 438.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001187/0.2917, allocations: 0.7669 MB / 439.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004873/0.2922, allocations: 195.1 kB / 439.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005079/0.2927, allocations: 306.8 kB / 440.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004804/0.2931, allocations: 326.5 kB / 440.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.2933, allocations: 68 kB / 440.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.2934, allocations: 64 kB / 440.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.2936, allocations: 151.5 kB / 440.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003589/0.2939, allocations: 346.2 kB / 441 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.295, allocations: 0.7582 MB / 441.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.295, allocations: 0 / 441.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.295, allocations: 0 / 441.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.295, allocations: 0 / 441.8 MB, free: 13.54 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.00203/0.297, allocations: 0.9577 MB / 442.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.2971, allocations: 8.031 kB / 442.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003421/0.2974, allocations: 92.45 kB / 442.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006094/0.298, allocations: 364.2 kB / 443.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.729e-05/0.2981, allocations: 45.69 kB / 443.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.594e-05/0.2981, allocations: 52.38 kB / 443.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.2993, allocations: 0.5495 MB / 443.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.2994, allocations: 8 kB / 443.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/0.2994, allocations: 23.98 kB / 443.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.2994, allocations: 12 kB / 443.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009632/0.3004, allocations: 421 kB / 444.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003343/0.3037, allocations: 1.778 MB / 446.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008537/0.3046, allocations: 349.3 kB / 446.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.3057, allocations: 429 kB / 446.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.3057, allocations: 4.328 kB / 446.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006119/0.3063, allocations: 298.2 kB / 447.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.004e-06/0.3063, allocations: 3.938 kB / 447.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.00363/0.31, allocations: 1.098 MB / 448.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001865/0.3101, allocations: 243.3 kB / 448.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006465/0.3108, allocations: 437.8 kB / 448.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.3108, allocations: 37.69 kB / 448.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/0.3111, allocations: 320.8 kB / 449.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.3113, allocations: 146.8 kB / 449.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.3115, allocations: 86.19 kB / 449.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.3117, allocations: 366.7 kB / 449.8 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/0.312, allocations: 148.9 kB / 450 MB, free: 5.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005208/0.3126, allocations: 316.9 kB / 450.3 MB, free: 4.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008422/0.3134, allocations: 447.4 kB / 450.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3134, allocations: 0 / 450.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001853/0.3153, allocations: 0.7481 MB / 451.5 MB, free: 3.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.3153, allocations: 15.92 kB / 451.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.3153, allocations: 7.984 kB / 451.5 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006804/0.316, allocations: 192.7 kB / 451.7 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.3163, allocations: 75.91 kB / 451.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004583/0.3209, allocations: 2.694 MB / 454.5 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005227/0.3214, allocations: 83.62 kB / 454.5 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.3215, allocations: 16 kB / 454.6 MB, free: 220 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.0003006/0.3218, allocations: 181.8 kB / 454.7 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.3219, allocations: 55.72 kB / 454.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.322, allocations: 56.91 kB / 454.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.322, allocations: 7.938 kB / 454.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.322, allocations: 0 / 454.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.322, allocations: 4 kB / 454.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/0.3245, allocations: 1.23 MB / 456.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3245, allocations: 0 / 456.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.3247, allocations: 43.97 kB / 456.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005701/0.3253, allocations: 188.7 kB / 456.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.3253, allocations: 8 kB / 456.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004365/0.3297, allocations: 2.674 MB / 459 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3297, allocations: 0 / 459 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/0.3319, allocations: 0.9064 MB / 459.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.332, allocations: 59.69 kB / 460 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.621e-05/0.3321, allocations: 8 kB / 460 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.3324, allocations: 47.89 kB / 460 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.3325, allocations: 35.88 kB / 460 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.3326, allocations: 8 kB / 460.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004242/0.333, allocations: 307.1 kB / 460.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.333, allocations: 0 / 460.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007168/0.3337, allocations: 187.7 kB / 460.5 MB, free: 10.04 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.0001818/0.3339, allocations: 111.1 kB / 460.6 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.3352, allocations: 0.5571 MB / 461.2 MB, free: 9.348 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3352, allocations: 0 / 461.2 MB, free: 9.348 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007315/0.336, allocations: 374.9 kB / 461.6 MB, free: 8.969 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005397/0.3365, allocations: 83.17 kB / 461.6 MB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.3385, allocations: 0.933 MB / 462.6 MB, free: 7.926 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005976/0.3391, allocations: 0.8633 MB / 463.4 MB, free: 7.031 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002089/0.3393, allocations: 52.55 kB / 463.5 MB, free: 6.977 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.3394, allocations: 35.42 kB / 463.5 MB, free: 6.941 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3394, allocations: 0 / 463.5 MB, free: 6.941 MB / 366.1 MB Notification: Performance of Templates: time 0.0163/0.3557, allocations: 7.774 MB / 471.3 MB, free: 15.25 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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: 4.944371651858091]