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.001637/0.001637, allocations: 105.5 kB / 20.43 MB, free: 1.473 MB / 14.72 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.001982/0.001982, allocations: 188.1 kB / 23.72 MB, free: 4.711 MB / 14.72 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.474/1.474, allocations: 225.6 MB / 252.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001532/0.001532, allocations: 47.92 kB / 371 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2864, allocations: 52.18 MB / 423.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009738/0.2961, allocations: 7.929 MB / 431.1 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004131/0.3002, allocations: 1.874 MB / 433 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006839/0.3009, allocations: 31.81 kB / 433 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005293/0.3014, allocations: 237.7 kB / 433.2 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008866/0.3023, allocations: 460.2 kB / 433.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009093/0.3032, allocations: 0.4955 MB / 434.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001809/0.305, allocations: 1.794 MB / 436 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006899/0.3057, allocations: 448.3 kB / 436.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007512/0.3065, allocations: 0.654 MB / 437 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007941/0.3073, allocations: 0.7195 MB / 437.8 MB, free: 4 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002413/0.3075, allocations: 180 kB / 437.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.3078, allocations: 180 kB / 438.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000313/0.3081, allocations: 358.7 kB / 438.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007465/0.3088, allocations: 0.7737 MB / 439.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002081/0.3109, allocations: 2.052 MB / 441.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3109, allocations: 4 kB / 441.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3109, allocations: 4 kB / 441.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.123e-05/0.3109, allocations: 0 / 441.3 MB, free: 12.46 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.003745/0.3147, allocations: 1.751 MB / 443.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3147, allocations: 12.03 kB / 443.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002822/0.315, allocations: 163.9 kB / 443.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.3163, allocations: 0.6971 MB / 443.9 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.478e-05/0.3164, allocations: 90.39 kB / 444 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/0.3166, allocations: 120 kB / 444.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002887/0.3194, allocations: 1.305 MB / 445.4 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/0.3195, allocations: 7.938 kB / 445.4 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.3196, allocations: 56 kB / 445.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.631e-05/0.3196, allocations: 28 kB / 445.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002706/0.3223, allocations: 1.118 MB / 446.6 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009055/0.3314, allocations: 4.863 MB / 451.5 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002659/0.3341, allocations: 1.007 MB / 452.5 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/0.3352, allocations: 482.1 kB / 453 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.848e-05/0.3353, allocations: 12.8 kB / 453 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/0.3353, allocations: 55.16 kB / 453 MB, free: 340 kB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.575e-06/0.3354, allocations: 0 / 453 MB, free: 340 kB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.009361/0.3447, allocations: 2.473 MB / 455.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.043e-05/0.3448, allocations: 93.7 kB / 455.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.346, allocations: 0.8097 MB / 456.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.937e-05/0.3461, allocations: 37.7 kB / 456.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004695/0.3466, allocations: 0.6053 MB / 457.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.3469, allocations: 293.5 kB / 457.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002794/0.3472, allocations: 174.6 kB / 457.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3473, allocations: 345.9 kB / 457.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009513/0.3483, allocations: 365.8 kB / 458.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.3494, allocations: 0.5856 MB / 458.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002038/0.3514, allocations: 0.9442 MB / 459.7 MB, free: 9.375 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.3514, allocations: 8 kB / 459.8 MB, free: 9.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00342/0.3549, allocations: 1.354 MB / 461.1 MB, free: 7.996 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.3549, allocations: 8 kB / 461.1 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.3549, allocations: 4 kB / 461.1 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008406/0.3557, allocations: 234.7 kB / 461.3 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003822/0.3596, allocations: 0.8311 MB / 462.2 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01496/0.3745, allocations: 10.23 MB / 472.4 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.3757, allocations: 147.2 kB / 472.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.251e-05/0.3758, allocations: 48 kB / 472.6 MB, free: 11.81 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.0006478/0.3764, allocations: 273.5 kB / 472.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.3766, allocations: 103.4 kB / 473 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.3768, allocations: 108.8 kB / 473.1 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.3768, allocations: 11.94 kB / 473.1 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.3768, allocations: 0 / 473.1 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.3768, allocations: 7.984 kB / 473.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005494/0.3823, allocations: 2.414 MB / 475.5 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3823, allocations: 4 kB / 475.5 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005552/0.3829, allocations: 115.9 kB / 475.6 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/0.3843, allocations: 433.1 kB / 476 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-05/0.3844, allocations: 12 kB / 476.1 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01423/0.3986, allocations: 10.28 MB / 486.3 MB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.325e-06/0.3986, allocations: 4.031 kB / 486.3 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005327/0.404, allocations: 1.941 MB / 488.3 MB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004614/0.4044, allocations: 115.2 kB / 488.4 MB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.4045, allocations: 16 kB / 488.4 MB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008322/0.4054, allocations: 103.9 kB / 488.5 MB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/0.4056, allocations: 68.41 kB / 488.6 MB, free: 11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.682e-05/0.4056, allocations: 35.98 kB / 488.6 MB, free: 10.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008325/0.4065, allocations: 0.542 MB / 489.2 MB, free: 10.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4065, allocations: 0 / 489.2 MB, free: 10.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001461/0.4079, allocations: 367.2 kB / 489.5 MB, free: 10.06 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.0002373/0.4081, allocations: 125.7 kB / 489.6 MB, free: 9.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006465/0.4146, allocations: 1.957 MB / 491.6 MB, free: 7.934 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/0.4146, allocations: 4 kB / 491.6 MB, free: 7.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001963/0.4166, allocations: 1.121 MB / 492.7 MB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.4179, allocations: 211.5 kB / 492.9 MB, free: 6.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005058/0.4229, allocations: 2.337 MB / 495.3 MB, free: 4.148 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007606/0.4237, allocations: 1.078 MB / 496.3 MB, free: 3.047 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004344/0.4241, allocations: 99.52 kB / 496.4 MB, free: 2.945 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.4243, allocations: 59.44 kB / 496.5 MB, free: 2.887 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4243, allocations: 0 / 496.5 MB, free: 2.887 MB / 398.1 MB Notification: Performance of Templates: time 0.02863/0.4529, allocations: 15.36 MB / 0.4999 GB, free: 3.648 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.287091238424182]