Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001793/0.002924, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001033/0.002044, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.161/1.161, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0889/1.25, allocations: 52.5 MB / 238.3 MB, free: 4.426 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 239.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.507e-05, allocations: 2.312 kB / 239.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009992/0.01002, allocations: 7.554 MB / 247.1 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005585/0.0156, allocations: 1.959 MB / 249.1 MB, free: 9.574 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.01699, allocations: 35.81 kB / 249.1 MB, free: 9.539 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006508/0.01764, allocations: 241.6 kB / 249.4 MB, free: 9.301 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.01926, allocations: 475.9 kB / 249.8 MB, free: 8.832 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.02035, allocations: 0.5071 MB / 250.3 MB, free: 8.324 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001831/0.02218, allocations: 1.848 MB / 252.2 MB, free: 6.469 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005526/0.02273, allocations: 428.3 kB / 252.6 MB, free: 6.016 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.02403, allocations: 1.116 MB / 253.7 MB, free: 4.887 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004834/0.02451, allocations: 0.5725 MB / 254.3 MB, free: 4.312 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.02469, allocations: 180 kB / 254.5 MB, free: 4.137 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.02484, allocations: 180 kB / 254.7 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.025, allocations: 267.2 kB / 254.9 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003655/0.02536, allocations: 463.1 kB / 255.4 MB, free: 3.246 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008751/0.02624, allocations: 1.024 MB / 256.4 MB, free: 2.219 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.281e-05/0.02626, allocations: 0 / 256.4 MB, free: 2.219 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.02626, allocations: 0 / 256.4 MB, free: 2.219 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.19e-05/0.02629, allocations: 3.938 kB / 256.4 MB, free: 2.215 MB / 250.7 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.002546/0.02884, allocations: 1.964 MB / 258.4 MB, free: 224 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.02888, allocations: 15.95 kB / 258.4 MB, free: 208 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.02907, allocations: 200.8 kB / 258.6 MB, free: 8 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006801/0.02975, allocations: 0.4936 MB / 259.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.312e-05/0.02981, allocations: 94.83 kB / 259.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.02991, allocations: 124.4 kB / 259.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.03102, allocations: 1.245 MB / 260.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.03104, allocations: 0 / 260.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.1e-05/0.0311, allocations: 52 kB / 260.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.03112, allocations: 32 kB / 260.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004318/0.03155, allocations: 331.8 kB / 260.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00416/0.03571, allocations: 3.557 MB / 264.5 MB, free: 9.742 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007175/0.03643, allocations: 0.5442 MB / 265 MB, free: 9.176 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/0.03669, allocations: 226.6 kB / 265.2 MB, free: 8.949 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.465e-05/0.03673, allocations: 20.66 kB / 265.3 MB, free: 8.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.03677, allocations: 43.16 kB / 265.3 MB, free: 8.879 MB / 266.7 MB Notification: Performance of pre-optimization done (n=79): time 5.33e-06/0.03677, allocations: 3.984 kB / 265.3 MB, free: 8.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=79): time 0.002177/0.03895, allocations: 1.244 MB / 266.6 MB, free: 7.605 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.03898, allocations: 85.77 kB / 266.6 MB, free: 7.504 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000465/0.03945, allocations: 0.6286 MB / 267.3 MB, free: 6.863 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/0.03949, allocations: 41.7 kB / 267.3 MB, free: 6.816 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.03973, allocations: 0.525 MB / 267.8 MB, free: 6.285 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.03989, allocations: 293.4 kB / 268.1 MB, free: 5.996 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.04006, allocations: 170.5 kB / 268.3 MB, free: 5.824 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.0402, allocations: 410.5 kB / 268.7 MB, free: 5.414 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.04034, allocations: 89.95 kB / 268.8 MB, free: 5.324 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.04062, allocations: 327.7 kB / 269.1 MB, free: 4.918 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/0.04107, allocations: 0.5105 MB / 269.6 MB, free: 4.316 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.04108, allocations: 0 / 269.6 MB, free: 4.316 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.0007927/0.04187, allocations: 0.6421 MB / 270.3 MB, free: 3.656 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.0419, allocations: 8 kB / 270.3 MB, free: 3.648 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.04191, allocations: 8 kB / 270.3 MB, free: 3.641 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004746/0.04238, allocations: 210.7 kB / 270.5 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.04356, allocations: 0.5969 MB / 271.1 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004534/0.04809, allocations: 8.067 MB / 279.1 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005973/0.04869, allocations: 119.4 kB / 279.3 MB, free: 10.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.04873, allocations: 35.98 kB / 279.3 MB, free: 10.1 MB / 282.7 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.0002969/0.04902, allocations: 169.5 kB / 279.5 MB, free: 9.922 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.04914, allocations: 83.92 kB / 279.5 MB, free: 9.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.325e-05/0.04923, allocations: 100.1 kB / 279.6 MB, free: 9.738 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.04924, allocations: 11.98 kB / 279.6 MB, free: 9.727 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/0.04925, allocations: 0 / 279.6 MB, free: 9.727 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.04925, allocations: 7.984 kB / 279.7 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.05085, allocations: 1.143 MB / 280.8 MB, free: 8.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.05085, allocations: 4 kB / 280.8 MB, free: 8.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.05121, allocations: 151.8 kB / 280.9 MB, free: 8.375 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.05132, allocations: 91.2 kB / 281 MB, free: 8.285 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006643/0.05199, allocations: 352.9 kB / 281.4 MB, free: 7.922 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.764e-05/0.05202, allocations: 15.94 kB / 281.4 MB, free: 7.906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1201/0.1721, allocations: 8.025 MB / 289.4 MB, free: 37.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1721, allocations: 2.75 kB / 289.4 MB, free: 37.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.1735, allocations: 0.9116 MB / 290.3 MB, free: 37.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.1736, allocations: 20.06 kB / 290.4 MB, free: 37.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.1739, allocations: 84.05 kB / 290.4 MB, free: 37.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.1741, allocations: 68.81 kB / 290.5 MB, free: 37.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.1741, allocations: 19.42 kB / 290.5 MB, free: 37.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003342/0.1744, allocations: 299.5 kB / 290.8 MB, free: 37.15 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1744, allocations: 0 / 290.8 MB, free: 37.15 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009863/0.1754, allocations: 368.5 kB / 291.2 MB, free: 37.15 MB / 282.7 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.000175/0.1756, allocations: 108 kB / 291.3 MB, free: 37.08 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00191/0.1775, allocations: 1.221 MB / 292.5 MB, free: 36.7 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.853e-05/0.1776, allocations: 16.16 kB / 292.5 MB, free: 36.7 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006003/0.1782, allocations: 0.9395 MB / 293.5 MB, free: 36.01 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006569/0.1788, allocations: 274.4 kB / 293.7 MB, free: 36.01 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006721/0.1855, allocations: 2.03 MB / 295.8 MB, free: 35.14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.1858, allocations: 210.1 kB / 296 MB, free: 35.06 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004063/0.1862, allocations: 91.31 kB / 296.1 MB, free: 35.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003675/0.1866, allocations: 234.2 kB / 296.3 MB, free: 35 MB / 282.7 MB Notification: Performance of SimCode: time 1.733e-06/0.1866, allocations: 0 / 296.3 MB, free: 35 MB / 282.7 MB Notification: Performance of Templates: time 0.01927/0.2058, allocations: 15.07 MB / 311.4 MB, free: 27.78 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.232660093344748]