Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.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.001674/0.001674, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001637/0.001637, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.567/1.567, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 47.92 kB / 378.3 MB, free: 2.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2751, allocations: 53.35 MB / 431.7 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009774/0.2849, allocations: 7.944 MB / 439.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004905/0.2898, allocations: 1.913 MB / 441.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.291, allocations: 31.81 kB / 441.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006694/0.2916, allocations: 229.7 kB / 441.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.2929, allocations: 460.2 kB / 442.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.294, allocations: 0.4994 MB / 442.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002437/0.2965, allocations: 1.798 MB / 444.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007385/0.2972, allocations: 432.3 kB / 444.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008868/0.2981, allocations: 0.6618 MB / 445.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009569/0.2991, allocations: 0.7194 MB / 446.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002788/0.2993, allocations: 176 kB / 446.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002572/0.2996, allocations: 184 kB / 446.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000293/0.2999, allocations: 362.8 kB / 447 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007989/0.3007, allocations: 0.7659 MB / 447.8 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00235/0.303, allocations: 2.056 MB / 449.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.303, allocations: 0 / 449.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3031, allocations: 4 kB / 449.9 MB, free: 4.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.001e-05/0.3031, allocations: 0 / 449.9 MB, free: 4.586 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003736/0.3068, allocations: 1.751 MB / 451.6 MB, free: 2.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.3069, allocations: 8.031 kB / 451.6 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002842/0.3072, allocations: 164 kB / 451.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.3084, allocations: 0.6932 MB / 452.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.579e-05/0.3085, allocations: 98.39 kB / 452.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.3087, allocations: 123.9 kB / 452.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002543/0.3112, allocations: 1.309 MB / 454 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.422e-05/0.3113, allocations: 7.875 kB / 454 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.3114, allocations: 52 kB / 454.1 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.313e-05/0.3114, allocations: 32 kB / 454.1 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002619/0.314, allocations: 1.126 MB / 455.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008351/0.3224, allocations: 4.856 MB / 460.1 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/0.3248, allocations: 0.9987 MB / 461.1 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.326, allocations: 486.1 kB / 461.5 MB, free: 8.531 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.036e-05/0.3261, allocations: 12.66 kB / 461.5 MB, free: 8.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.3261, allocations: 51.09 kB / 461.6 MB, free: 8.461 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.304e-06/0.3261, allocations: 0 / 461.6 MB, free: 8.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.008677/0.3348, allocations: 2.477 MB / 464.1 MB, free: 5.957 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.3349, allocations: 93.69 kB / 464.2 MB, free: 5.848 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.3361, allocations: 0.8059 MB / 465 MB, free: 5.035 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.967e-05/0.3362, allocations: 41.7 kB / 465 MB, free: 4.988 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004973/0.3367, allocations: 0.6092 MB / 465.6 MB, free: 4.371 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.337, allocations: 289.5 kB / 465.9 MB, free: 4.086 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002764/0.3372, allocations: 166.6 kB / 466.1 MB, free: 3.918 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.3374, allocations: 353.9 kB / 466.4 MB, free: 3.566 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009579/0.3384, allocations: 365.8 kB / 466.8 MB, free: 3.207 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/0.3396, allocations: 0.5746 MB / 467.3 MB, free: 2.547 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/0.3416, allocations: 0.9597 MB / 468.3 MB, free: 1.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.3416, allocations: 4 kB / 468.3 MB, free: 1.496 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003518/0.3452, allocations: 1.351 MB / 469.7 MB, free: 128 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.3452, allocations: 8 kB / 469.7 MB, free: 120 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.3452, allocations: 8 kB / 469.7 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009285/0.3461, allocations: 226.5 kB / 469.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003676/0.3498, allocations: 0.8311 MB / 470.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01464/0.3644, allocations: 10.23 MB / 481 MB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.3656, allocations: 147.3 kB / 481.1 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.968e-05/0.3657, allocations: 39.98 kB / 481.1 MB, free: 3.953 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005447/0.3662, allocations: 273.9 kB / 481.4 MB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.3664, allocations: 111.3 kB / 481.5 MB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.3666, allocations: 116.8 kB / 481.6 MB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.3666, allocations: 8 kB / 481.6 MB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.3667, allocations: 3.938 kB / 481.6 MB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.862e-05/0.3667, allocations: 3.984 kB / 481.6 MB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00547/0.3721, allocations: 2.422 MB / 484.1 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.3721, allocations: 4 kB / 484.1 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005592/0.3727, allocations: 115.9 kB / 484.2 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001434/0.3741, allocations: 436.7 kB / 484.6 MB, free: 384 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.025e-05/0.3742, allocations: 20 kB / 484.6 MB, free: 364 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01427/0.3885, allocations: 10.29 MB / 494.9 MB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.3885, allocations: 0 / 494.9 MB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005224/0.3937, allocations: 1.929 MB / 496.8 MB, free: 3.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/0.394, allocations: 119.2 kB / 497 MB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.3942, allocations: 12 kB / 497 MB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008832/0.3951, allocations: 107.8 kB / 497.1 MB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.3953, allocations: 68.47 kB / 497.1 MB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-05/0.3953, allocations: 28 kB / 497.2 MB, free: 3.082 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000874/0.3962, allocations: 0.542 MB / 497.7 MB, free: 2.543 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3962, allocations: 0 / 497.7 MB, free: 2.543 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001532/0.3977, allocations: 363.3 kB / 498.1 MB, free: 2.188 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (PIA.c.v,firstOrder1A.c.v,firstOrder2A.c.v,PIB.x,firstOrder1B.y,firstOrder2B.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,5), (1,5), (1,1), (1,7), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002483/0.398, allocations: 135 kB / 498.2 MB, free: 2.043 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00626/0.4043, allocations: 1.944 MB / 0.4884 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/0.4043, allocations: 4 kB / 0.4884 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002042/0.4063, allocations: 1.141 MB / 0.4895 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.4077, allocations: 213.8 kB / 0.4897 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00533/0.413, allocations: 2.321 MB / 0.492 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008985/0.4139, allocations: 1.078 MB / 0.4931 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005233/0.4144, allocations: 111.4 kB / 0.4932 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.4146, allocations: 55.44 kB / 0.4932 GB, free: 11 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4146, allocations: 0 / 0.4932 GB, free: 11 MB / 414.1 MB Notification: Performance of Templates: time 0.03065/0.4453, allocations: 15.36 MB / 0.5082 GB, free: 11.77 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.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.517521413043141]