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.008133/0.008133, allocations: 109.3 kB / 21.98 MB, free: 5.207 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.002515/0.002515, allocations: 212.2 kB / 25.29 MB, free: 3.199 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.435/1.435, allocations: 230.6 MB / 259 MB, free: 8.039 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.001982/0.001982, allocations: 67.89 kB / 379.8 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2356, allocations: 53.36 MB / 433.2 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009834/0.2454, allocations: 7.931 MB / 441.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004218/0.2496, allocations: 1.913 MB / 443 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.2507, allocations: 31.81 kB / 443.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006546/0.2513, allocations: 237.7 kB / 443.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.2525, allocations: 460.2 kB / 443.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.2536, allocations: 0.4955 MB / 444.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002364/0.2559, allocations: 1.798 MB / 446.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008167/0.2567, allocations: 440.3 kB / 446.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009718/0.2577, allocations: 0.6578 MB / 447.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009916/0.2587, allocations: 0.7156 MB / 447.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000269/0.259, allocations: 180 kB / 448 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.2592, allocations: 180 kB / 448.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003005/0.2595, allocations: 354.8 kB / 448.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008441/0.2604, allocations: 0.7776 MB / 449.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002276/0.2627, allocations: 2.056 MB / 451.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.2627, allocations: 0 / 451.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2627, allocations: 0 / 451.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.59e-05/0.2627, allocations: 3.938 kB / 451.4 MB, free: 4.668 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.003709/0.2664, allocations: 1.751 MB / 453.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.2665, allocations: 8.031 kB / 453.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.2667, allocations: 167.9 kB / 453.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.2681, allocations: 0.6932 MB / 454 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-05/0.2681, allocations: 94.39 kB / 454.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.2683, allocations: 120 kB / 454.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/0.2709, allocations: 1.312 MB / 455.5 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.2709, allocations: 3.938 kB / 455.5 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.271, allocations: 52 kB / 455.6 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.345e-05/0.271, allocations: 28 kB / 455.6 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002625/0.2737, allocations: 1.122 MB / 456.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008489/0.2822, allocations: 4.871 MB / 461.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/0.2846, allocations: 0.992 MB / 462.6 MB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.2857, allocations: 498 kB / 463.1 MB, free: 8.605 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.187e-05/0.2858, allocations: 8.656 kB / 463.1 MB, free: 8.598 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.2858, allocations: 47.16 kB / 463.1 MB, free: 8.543 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.665e-06/0.2858, allocations: 0 / 463.1 MB, free: 8.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.008354/0.2942, allocations: 2.477 MB / 465.6 MB, free: 6.039 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.2942, allocations: 85.77 kB / 465.7 MB, free: 5.938 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.2955, allocations: 0.8059 MB / 466.5 MB, free: 5.125 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.714e-05/0.2956, allocations: 45.7 kB / 466.6 MB, free: 5.074 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005095/0.2961, allocations: 0.6131 MB / 467.2 MB, free: 4.453 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/0.2964, allocations: 285.5 kB / 467.4 MB, free: 4.172 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002807/0.2967, allocations: 178.5 kB / 467.6 MB, free: 3.992 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.2968, allocations: 345.9 kB / 468 MB, free: 3.648 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000944/0.2978, allocations: 365.8 kB / 468.3 MB, free: 3.289 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.2989, allocations: 0.5824 MB / 468.9 MB, free: 2.621 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/0.3009, allocations: 0.9482 MB / 469.8 MB, free: 1.586 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.3009, allocations: 0 / 469.8 MB, free: 1.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003321/0.3042, allocations: 1.362 MB / 471.2 MB, free: 208 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.3043, allocations: 11.94 kB / 471.2 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.3043, allocations: 4 kB / 471.2 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008353/0.3051, allocations: 222.5 kB / 471.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003287/0.3084, allocations: 0.8388 MB / 472.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01384/0.3222, allocations: 10.23 MB / 482.5 MB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009689/0.3232, allocations: 139.3 kB / 482.6 MB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-05/0.3233, allocations: 43.98 kB / 482.7 MB, free: 4.035 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.0005565/0.3238, allocations: 277.8 kB / 483 MB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.324, allocations: 103.3 kB / 483.1 MB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.3242, allocations: 116.8 kB / 483.2 MB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.3242, allocations: 8 kB / 483.2 MB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.3243, allocations: 0 / 483.2 MB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.3243, allocations: 7.984 kB / 483.2 MB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005265/0.3295, allocations: 2.414 MB / 485.6 MB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.3295, allocations: 0 / 485.6 MB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005652/0.3301, allocations: 119.9 kB / 485.7 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001425/0.3315, allocations: 440.8 kB / 486.1 MB, free: 476 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.82e-05/0.3316, allocations: 19.98 kB / 486.2 MB, free: 456 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01364/0.3452, allocations: 10.28 MB / 496.4 MB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3452, allocations: 8 kB / 496.5 MB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004864/0.3501, allocations: 1.933 MB / 498.4 MB, free: 3.492 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003303/0.3504, allocations: 115.2 kB / 498.5 MB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.3505, allocations: 19.94 kB / 498.5 MB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007867/0.3513, allocations: 103.9 kB / 498.6 MB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.3515, allocations: 72.47 kB / 498.7 MB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.133e-05/0.3516, allocations: 23.98 kB / 498.7 MB, free: 3.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008084/0.3524, allocations: 0.5459 MB / 499.3 MB, free: 2.621 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3524, allocations: 0 / 499.3 MB, free: 2.621 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001299/0.3537, allocations: 359.3 kB / 499.6 MB, free: 2.27 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.0002136/0.3539, allocations: 131.1 kB / 499.7 MB, free: 2.129 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005795/0.3597, allocations: 1.952 MB / 0.4899 GB, free: 140 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.3597, allocations: 3.938 kB / 0.4899 GB, free: 136 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001892/0.3616, allocations: 1.141 MB / 0.4911 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.3628, allocations: 202.1 kB / 0.4912 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00509/0.3679, allocations: 2.369 MB / 0.4936 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008015/0.3687, allocations: 1.074 MB / 0.4946 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.3689, allocations: 63.44 kB / 0.4947 GB, free: 11.15 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3689, allocations: 0 / 0.4947 GB, free: 11.15 MB / 414.1 MB Notification: Performance of Templates: time 0.2434/0.6123, allocations: 43.21 MB / 0.5369 GB, free: 103.9 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.565857315901667]