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.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.00137/0.00137, allocations: 111.8 kB / 19.17 MB, free: 3.891 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.001417/0.001417, allocations: 208.9 kB / 22.13 MB, free: 0.9375 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.478/1.478, allocations: 230.4 MB / 255.4 MB, free: 15.02 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.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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [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.001965/0.001965, allocations: 75.77 kB / 374.8 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1239, allocations: 53.32 MB / 428.1 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.2471/0.371, allocations: 7.898 MB / 436 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003986/0.375, allocations: 1.901 MB / 437.9 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/0.3765, allocations: 28.66 kB / 437.9 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006075/0.3771, allocations: 241.2 kB / 438.2 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.3783, allocations: 449.5 kB / 438.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.3794, allocations: 0.502 MB / 439.1 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002278/0.3816, allocations: 1.795 MB / 440.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007335/0.3824, allocations: 442.8 kB / 441.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.3836, allocations: 0.6435 MB / 442 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.3848, allocations: 0.7118 MB / 442.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002908/0.3851, allocations: 178.3 kB / 442.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003354/0.3855, allocations: 180.2 kB / 443 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000273/0.3857, allocations: 362.6 kB / 443.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007192/0.3864, allocations: 0.7761 MB / 444.2 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002561/0.389, allocations: 2.058 MB / 446.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.389, allocations: 0.5312 kB / 446.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.389, allocations: 0.5312 kB / 446.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.809e-05/0.3891, allocations: 1.125 kB / 446.2 MB, free: 2.559 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.003879/0.393, allocations: 1.823 MB / 448.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.393, allocations: 9.688 kB / 448.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003003/0.3933, allocations: 167 kB / 448.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.3945, allocations: 0.7635 MB / 449 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.95e-05/0.3945, allocations: 95.17 kB / 449.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.3947, allocations: 121 kB / 449.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00255/0.3972, allocations: 1.316 MB / 450.5 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.3973, allocations: 0 / 450.5 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.997e-05/0.3974, allocations: 52.78 kB / 450.6 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.3974, allocations: 29.64 kB / 450.6 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002632/0.4, allocations: 1.12 MB / 451.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009172/0.4092, allocations: 4.968 MB / 456.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.4117, allocations: 1.139 MB / 457.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001161/0.4129, allocations: 496.3 kB / 458.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.149e-05/0.413, allocations: 14.38 kB / 458.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/0.413, allocations: 44.33 kB / 458.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.856e-06/0.413, allocations: 1.188 kB / 458.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.009249/0.4223, allocations: 2.933 MB / 461.3 MB, free: 9.922 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/0.4223, allocations: 86.67 kB / 461.4 MB, free: 9.828 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/0.4238, allocations: 0.8021 MB / 462.2 MB, free: 9.375 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.424, allocations: 42.27 kB / 462.2 MB, free: 9.332 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005333/0.4245, allocations: 0.601 MB / 462.8 MB, free: 8.793 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003182/0.4248, allocations: 299.4 kB / 463.1 MB, free: 8.531 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003064/0.4251, allocations: 169.6 kB / 463.3 MB, free: 8.422 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.4253, allocations: 347.2 kB / 463.6 MB, free: 8.086 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009553/0.4263, allocations: 369.7 kB / 464 MB, free: 7.922 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.4274, allocations: 0.581 MB / 464.6 MB, free: 7.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002073/0.4295, allocations: 0.9595 MB / 465.5 MB, free: 6.848 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.4295, allocations: 2.594 kB / 465.5 MB, free: 6.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003521/0.433, allocations: 1.358 MB / 466.9 MB, free: 6.191 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.433, allocations: 12.22 kB / 466.9 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.433, allocations: 6.156 kB / 466.9 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008386/0.4339, allocations: 217.2 kB / 467.1 MB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003663/0.4375, allocations: 0.8353 MB / 468 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01517/0.4527, allocations: 10.84 MB / 478.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.4541, allocations: 147.5 kB / 478.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.943e-05/0.4541, allocations: 38.91 kB / 479 MB, free: 11.73 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.0006624/0.4548, allocations: 278.4 kB / 479.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/0.455, allocations: 104.9 kB / 479.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.4553, allocations: 108.6 kB / 479.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.4553, allocations: 11 kB / 479.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.4553, allocations: 1.344 kB / 479.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.4553, allocations: 5.297 kB / 479.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005741/0.461, allocations: 2.445 MB / 481.9 MB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.4611, allocations: 4 kB / 481.9 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000578/0.4616, allocations: 123.8 kB / 482 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001598/0.4632, allocations: 425.9 kB / 482.5 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.939e-05/0.4633, allocations: 19.98 kB / 482.5 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01487/0.4782, allocations: 10.9 MB / 493.4 MB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4782, allocations: 0 / 493.4 MB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005303/0.4835, allocations: 1.933 MB / 495.3 MB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004893/0.484, allocations: 196.2 kB / 495.5 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.4841, allocations: 19.98 kB / 495.5 MB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008366/0.4849, allocations: 103.9 kB / 495.6 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.4851, allocations: 64.47 kB / 495.7 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.447e-05/0.4852, allocations: 27.94 kB / 495.7 MB, free: 10.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008204/0.486, allocations: 0.5498 MB / 496.3 MB, free: 9.859 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.486, allocations: 0 / 496.3 MB, free: 9.859 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001567/0.4875, allocations: 359.3 kB / 496.6 MB, free: 9.508 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.0002403/0.4878, allocations: 135.1 kB / 496.7 MB, free: 9.367 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006179/0.494, allocations: 1.95 MB / 498.7 MB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.627e-06/0.494, allocations: 4 kB / 498.7 MB, free: 7.379 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001844/0.4958, allocations: 1.129 MB / 499.8 MB, free: 6.172 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.4972, allocations: 207.4 kB / 0.4883 GB, free: 5.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005508/0.5027, allocations: 2.369 MB / 0.4906 GB, free: 3.562 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008699/0.5036, allocations: 1.078 MB / 0.4917 GB, free: 2.457 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003248/0.5039, allocations: 67.44 kB / 0.4917 GB, free: 2.391 MB / 398.1 MB Notification: Performance of SimCode: time 1.814e-06/0.5039, allocations: 0 / 0.4917 GB, free: 2.391 MB / 398.1 MB Notification: Performance of Templates: time 0.05089/0.5548, allocations: 43.2 MB / 0.5339 GB, free: 7.199 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 10.254839444998652]