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.001369/0.001369, allocations: 81.02 kB / 20.68 MB, free: 1.035 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.001542/0.001542, allocations: 163.7 kB / 23.95 MB, free: 4.168 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.477/1.477, allocations: 177.2 MB / 204.3 MB, free: 9.191 MB / 190.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 2.465e-06/2.465e-06, allocations: 0 / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.107e-05/3.353e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.01491/0.01494, allocations: 6.893 MB / 332 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007605/0.02255, allocations: 1.881 MB / 333.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002039/0.02459, allocations: 32.5 kB / 333.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.02599, allocations: 238.8 kB / 334.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002896/0.02888, allocations: 483.7 kB / 334.6 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.03095, allocations: 0.5032 MB / 335.1 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004226/0.03518, allocations: 1.867 MB / 337 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001786/0.03697, allocations: 411.1 kB / 337.4 MB, free: 7.812 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005398/0.04236, allocations: 0.9936 MB / 338.4 MB, free: 7.152 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002504/0.04487, allocations: 0.5212 MB / 338.9 MB, free: 6.812 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007395/0.04561, allocations: 179.3 kB / 339.1 MB, free: 6.812 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.04664, allocations: 182.2 kB / 339.3 MB, free: 6.809 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009292/0.04757, allocations: 365.4 kB / 339.6 MB, free: 6.484 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002034/0.0496, allocations: 0.5362 MB / 340.2 MB, free: 6.051 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003435/0.05304, allocations: 2.087 MB / 342.2 MB, free: 3.957 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.05305, allocations: 7.984 kB / 342.3 MB, free: 3.949 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.05305, allocations: 0 / 342.3 MB, free: 3.949 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001009/0.05315, allocations: 0 / 342.3 MB, free: 3.949 MB / 302.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.005286/0.05843, allocations: 1.74 MB / 344 MB, free: 2.168 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.05849, allocations: 8.031 kB / 344 MB, free: 2.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004531/0.05894, allocations: 164 kB / 344.2 MB, free: 2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.06048, allocations: 0.6886 MB / 344.8 MB, free: 1.281 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.426e-05/0.06057, allocations: 90.83 kB / 344.9 MB, free: 1.191 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000231/0.0608, allocations: 124.3 kB / 345.1 MB, free: 1.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00341/0.06421, allocations: 1.639 MB / 346.7 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.06424, allocations: 3.938 kB / 346.7 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/0.06438, allocations: 52 kB / 346.8 MB, free: 15.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/0.06441, allocations: 32 kB / 346.8 MB, free: 15.21 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00304/0.06745, allocations: 1.114 MB / 347.9 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008825/0.07628, allocations: 4.245 MB / 352.1 MB, free: 9.664 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002624/0.0789, allocations: 0.9878 MB / 353.1 MB, free: 8.652 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.08018, allocations: 486.4 kB / 353.6 MB, free: 8.168 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.594e-05/0.08024, allocations: 12.59 kB / 353.6 MB, free: 8.156 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.407e-05/0.08029, allocations: 47.22 kB / 353.7 MB, free: 8.102 MB / 318.1 MB Notification: Performance of pre-optimization done (n=79): time 2.785e-06/0.08029, allocations: 3.938 kB / 353.7 MB, free: 8.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=79): time 0.009386/0.08968, allocations: 2.469 MB / 356.1 MB, free: 5.602 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.53e-05/0.08976, allocations: 85.77 kB / 356.2 MB, free: 5.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.09111, allocations: 0.7506 MB / 357 MB, free: 4.738 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.09123, allocations: 41.7 kB / 357 MB, free: 4.691 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005549/0.09178, allocations: 0.6091 MB / 357.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003161/0.0921, allocations: 293.5 kB / 357.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003146/0.09241, allocations: 162.6 kB / 358.1 MB, free: 3.621 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002413/0.09265, allocations: 402.7 kB / 358.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.09367, allocations: 365.8 kB / 358.8 MB, free: 2.859 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.09489, allocations: 0.5816 MB / 359.4 MB, free: 2.191 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002198/0.09709, allocations: 0.9521 MB / 360.3 MB, free: 1.152 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.066e-06/0.0971, allocations: 4 kB / 360.4 MB, free: 1.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003781/0.1009, allocations: 1.354 MB / 361.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.1009, allocations: 8 kB / 361.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.1009, allocations: 8 kB / 361.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009043/0.1018, allocations: 226.7 kB / 361.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003891/0.1057, allocations: 0.8311 MB / 362.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0164/0.1221, allocations: 10.04 MB / 372.8 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.1233, allocations: 127.3 kB / 372.9 MB, free: 3.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/0.1234, allocations: 40 kB / 373 MB, free: 3.891 MB / 334.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.0006889/0.1241, allocations: 278.6 kB / 373.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003047/0.1244, allocations: 99.38 kB / 373.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.1247, allocations: 96.12 kB / 373.4 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/0.1247, allocations: 16 kB / 373.5 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.659e-06/0.1247, allocations: 0 / 373.5 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.1247, allocations: 3.984 kB / 373.5 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005705/0.1304, allocations: 2.142 MB / 375.6 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.1304, allocations: 4 kB / 375.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006099/0.131, allocations: 115.9 kB / 375.7 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001569/0.1326, allocations: 432.8 kB / 376.1 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.986e-05/0.1327, allocations: 12 kB / 376.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01481/0.1475, allocations: 10.07 MB / 386.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1475, allocations: 0 / 386.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005259/0.1527, allocations: 1.937 MB / 388.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004008/0.1531, allocations: 103.3 kB / 388.3 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/0.1533, allocations: 16 kB / 388.3 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009533/0.1543, allocations: 111.8 kB / 388.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/0.1545, allocations: 60.53 kB / 388.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.224e-05/0.1546, allocations: 24 kB / 388.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008606/0.1555, allocations: 0.499 MB / 389 MB, free: 3.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1555, allocations: 0 / 389 MB, free: 3.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001488/0.157, allocations: 375.1 kB / 389.3 MB, free: 2.781 MB / 350.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.0002216/0.1572, allocations: 127.1 kB / 389.5 MB, free: 2.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006521/0.1637, allocations: 1.957 MB / 391.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.1637, allocations: 4 kB / 391.4 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001951/0.1657, allocations: 1.132 MB / 392.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.1669, allocations: 182.9 kB / 392.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005789/0.1727, allocations: 2.228 MB / 395 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007713/0.1735, allocations: 492 kB / 395.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004977/0.174, allocations: 94.88 kB / 395.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.1742, allocations: 56.5 kB / 395.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of SimCode: time 1.182e-06/0.1742, allocations: 0 / 395.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of Templates: time 0.02902/0.2032, allocations: 13.29 MB / 408.9 MB, free: 15.24 MB / 382.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.171403881162405]