Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.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.001474/0.001474, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.001415/0.001415, allocations: 219.3 kB / 23 MB, free: 5.574 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.456/1.456, allocations: 230.2 MB / 256.2 MB, free: 8.578 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.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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 67.89 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3262, allocations: 53.32 MB / 429.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.01012/0.3363, allocations: 7.946 MB / 437.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005045/0.3414, allocations: 1.909 MB / 439.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.3426, allocations: 27.94 kB / 439.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006764/0.3433, allocations: 233.7 kB / 439.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001241/0.3445, allocations: 452.3 kB / 440.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.3457, allocations: 0.5033 MB / 440.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002364/0.3481, allocations: 1.794 MB / 442.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007775/0.3489, allocations: 443.9 kB / 443.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008742/0.3497, allocations: 0.6384 MB / 443.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008636/0.3506, allocations: 0.7156 MB / 444.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002411/0.3508, allocations: 176 kB / 444.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002563/0.3511, allocations: 180 kB / 444.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003226/0.3514, allocations: 362.8 kB / 445.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000793/0.3522, allocations: 0.7736 MB / 445.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002177/0.3544, allocations: 2.056 MB / 448 MB, free: 5.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3544, allocations: 0 / 448 MB, free: 5.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3544, allocations: 0 / 448 MB, free: 5.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.265e-05/0.3544, allocations: 0 / 448 MB, free: 5.281 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.003622/0.358, allocations: 1.819 MB / 449.8 MB, free: 3.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.3581, allocations: 8.031 kB / 449.8 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002863/0.3584, allocations: 167.9 kB / 450 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.3596, allocations: 0.7653 MB / 450.8 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.461e-05/0.3597, allocations: 94.39 kB / 450.8 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/0.3599, allocations: 128 kB / 451 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002605/0.3625, allocations: 1.312 MB / 452.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.3625, allocations: 0 / 452.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.3626, allocations: 52 kB / 452.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-05/0.3627, allocations: 32 kB / 452.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002487/0.3652, allocations: 1.118 MB / 453.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009389/0.3746, allocations: 4.966 MB / 458.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002548/0.3771, allocations: 1.152 MB / 459.6 MB, free: 9.234 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.3782, allocations: 490.1 kB / 460.1 MB, free: 8.754 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.976e-05/0.3783, allocations: 12.66 kB / 460.1 MB, free: 8.742 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/0.3784, allocations: 43.22 kB / 460.1 MB, free: 8.691 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 3.657e-06/0.3784, allocations: 0 / 460.1 MB, free: 8.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.008753/0.3871, allocations: 2.936 MB / 463.1 MB, free: 5.621 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.3872, allocations: 85.77 kB / 463.2 MB, free: 5.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.3885, allocations: 0.8059 MB / 464 MB, free: 4.707 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.875e-05/0.3886, allocations: 41.7 kB / 464 MB, free: 4.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005101/0.3891, allocations: 0.6014 MB / 464.6 MB, free: 4.051 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003079/0.3894, allocations: 301.4 kB / 464.9 MB, free: 3.754 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000283/0.3897, allocations: 162.6 kB / 465.1 MB, free: 3.586 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.3899, allocations: 345.9 kB / 465.4 MB, free: 3.242 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009051/0.3908, allocations: 373.7 kB / 465.8 MB, free: 2.879 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.3918, allocations: 0.5816 MB / 466.3 MB, free: 2.211 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001972/0.3938, allocations: 0.9521 MB / 467.3 MB, free: 1.168 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3938, allocations: 0 / 467.3 MB, free: 1.168 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003373/0.3972, allocations: 1.362 MB / 468.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.3972, allocations: 12 kB / 468.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.3972, allocations: 8 kB / 468.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008564/0.3981, allocations: 218.4 kB / 468.9 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003496/0.4016, allocations: 0.8311 MB / 469.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01456/0.4161, allocations: 10.84 MB / 480.6 MB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.4174, allocations: 147.2 kB / 480.7 MB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.636e-05/0.4175, allocations: 39.94 kB / 480.7 MB, free: 2.863 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.0006275/0.4182, allocations: 277.5 kB / 481 MB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.4184, allocations: 107.3 kB / 481.1 MB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.4186, allocations: 112.8 kB / 481.2 MB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.4186, allocations: 12 kB / 481.2 MB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.4186, allocations: 0 / 481.2 MB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.4186, allocations: 7.984 kB / 481.2 MB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005367/0.424, allocations: 2.444 MB / 483.7 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.424, allocations: 0 / 483.7 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/0.4246, allocations: 123.8 kB / 483.8 MB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001388/0.4259, allocations: 432.8 kB / 484.2 MB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.276e-05/0.426, allocations: 19.98 kB / 484.3 MB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0136/0.4396, allocations: 10.9 MB / 495.2 MB, free: 3.496 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.4396, allocations: 0 / 495.2 MB, free: 3.496 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005107/0.4447, allocations: 1.944 MB / 497.1 MB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004716/0.4452, allocations: 184.3 kB / 497.3 MB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.4453, allocations: 16 kB / 497.3 MB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007957/0.4461, allocations: 108.2 kB / 497.4 MB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002238/0.4463, allocations: 60.48 kB / 497.5 MB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.676e-05/0.4464, allocations: 27.98 kB / 497.5 MB, free: 1.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008373/0.4472, allocations: 0.5498 MB / 498 MB, free: 0.5547 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4472, allocations: 0 / 498 MB, free: 0.5547 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001507/0.4487, allocations: 367.2 kB / 498.4 MB, free: 200 kB / 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.0002758/0.449, allocations: 131.1 kB / 498.5 MB, free: 60 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006633/0.4556, allocations: 1.944 MB / 0.4887 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/0.4556, allocations: 4 kB / 0.4887 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002853/0.4585, allocations: 1.14 MB / 0.4899 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.4603, allocations: 198.5 kB / 0.49 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005576/0.4659, allocations: 2.327 MB / 0.4923 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008599/0.4667, allocations: 1.081 MB / 0.4934 GB, free: 9.184 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005341/0.4673, allocations: 99.5 kB / 0.4935 GB, free: 9.082 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.4674, allocations: 59.44 kB / 0.4935 GB, free: 9.023 MB / 414.1 MB Notification: Performance of SimCode: time 1.413e-06/0.4674, allocations: 3.938 kB / 0.4935 GB, free: 9.02 MB / 414.1 MB Notification: Performance of Templates: time 0.03327/0.5007, allocations: 15.08 MB / 0.5083 GB, free: 10.06 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.202852324582636]