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.001929/0.001929, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002494/0.002494, allocations: 209.7 kB / 24.49 MB, free: 3.965 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.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 7.789 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+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 0.001553/0.001553, allocations: 55.92 kB / 379 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2239, allocations: 53.36 MB / 432.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009324/0.2333, allocations: 6.865 MB / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003417/0.2367, allocations: 1.87 MB / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004924/0.2372, allocations: 31.81 kB / 441.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004989/0.2377, allocations: 237.6 kB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009088/0.2386, allocations: 452.2 kB / 441.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008944/0.2395, allocations: 0.5072 MB / 442.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00179/0.2413, allocations: 1.802 MB / 444.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000681/0.242, allocations: 440.3 kB / 444.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006763/0.2426, allocations: 0.6618 MB / 445.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007976/0.2434, allocations: 0.7156 MB / 445.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002239/0.2437, allocations: 180 kB / 446.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.2439, allocations: 180 kB / 446.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003014/0.2442, allocations: 358.8 kB / 446.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006388/0.2449, allocations: 0.6339 MB / 447.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002055/0.2469, allocations: 2.065 MB / 449.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2469, allocations: 0 / 449.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2469, allocations: 0 / 449.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.2469, allocations: 0 / 449.3 MB, free: 5.648 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.003541/0.2505, allocations: 1.748 MB / 451.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.2505, allocations: 8.031 kB / 451.1 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002685/0.2508, allocations: 167.9 kB / 451.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.252, allocations: 0.6932 MB / 451.9 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.298e-05/0.2521, allocations: 90.39 kB / 452 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/0.2523, allocations: 120 kB / 452.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002866/0.2552, allocations: 1.643 MB / 453.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.2552, allocations: 0 / 453.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.2553, allocations: 51.94 kB / 453.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.053e-05/0.2553, allocations: 39.98 kB / 453.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002631/0.258, allocations: 1.118 MB / 455 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007603/0.2656, allocations: 4.241 MB / 459.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002476/0.2681, allocations: 0.9836 MB / 460.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.2692, allocations: 486.1 kB / 460.7 MB, free: 9.867 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.825e-05/0.2693, allocations: 16.62 kB / 460.7 MB, free: 9.852 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.2693, allocations: 47.22 kB / 460.8 MB, free: 9.797 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.455e-06/0.2693, allocations: 0 / 460.8 MB, free: 9.797 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.008901/0.2782, allocations: 2.477 MB / 463.2 MB, free: 7.293 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.2783, allocations: 89.7 kB / 463.3 MB, free: 7.188 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.2793, allocations: 0.7467 MB / 464.1 MB, free: 6.434 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.61e-05/0.2793, allocations: 41.7 kB / 464.1 MB, free: 6.387 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004484/0.2798, allocations: 0.6092 MB / 464.7 MB, free: 5.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.28, allocations: 293.5 kB / 465 MB, free: 5.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002875/0.2803, allocations: 174.6 kB / 465.2 MB, free: 5.305 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.2805, allocations: 394.7 kB / 465.6 MB, free: 4.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009632/0.2815, allocations: 369.8 kB / 465.9 MB, free: 4.547 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.2826, allocations: 0.5902 MB / 466.5 MB, free: 3.871 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002009/0.2846, allocations: 0.948 MB / 467.5 MB, free: 2.836 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.2846, allocations: 0 / 467.5 MB, free: 2.836 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00328/0.2879, allocations: 1.346 MB / 468.8 MB, free: 1.469 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.2879, allocations: 11.94 kB / 468.8 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.288, allocations: 8 kB / 468.8 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008198/0.2888, allocations: 230.7 kB / 469.1 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003744/0.2925, allocations: 0.831 MB / 469.9 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01428/0.3068, allocations: 10.04 MB / 479.9 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009136/0.3077, allocations: 135.2 kB / 480.1 MB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.798e-05/0.3078, allocations: 40.55 kB / 480.1 MB, free: 5.559 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.0005036/0.3083, allocations: 277.2 kB / 480.4 MB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.3085, allocations: 103.3 kB / 480.5 MB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.3087, allocations: 100.1 kB / 480.6 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.3087, allocations: 3.984 kB / 480.6 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3087, allocations: 0 / 480.6 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.3088, allocations: 107.2 kB / 480.7 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.3089, allocations: 16 kB / 480.7 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000786/0.3097, allocations: 107.9 kB / 480.8 MB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.3099, allocations: 72.45 kB / 480.9 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005007/0.3149, allocations: 1.625 MB / 482.5 MB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002939/0.3178, allocations: 1.48 MB / 484 MB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008682/0.3187, allocations: 337 kB / 484.3 MB, free: 1.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000679/0.3194, allocations: 0.5029 MB / 484.8 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of Backend: time 5.21e-07/0.3194, allocations: 0 / 484.8 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005733/0.3251, allocations: 1.732 MB / 486.5 MB, free: 15.03 MB / 398.1 MB Notification: Performance of SimCode: time 0.00374/0.3288, allocations: 2.63 MB / 489.2 MB, free: 12.34 MB / 398.1 MB Notification: Performance of Templates: time 0.02654/0.3554, allocations: 15.93 MB / 0.4933 GB, free: 12.61 MB / 414.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/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_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: 4.749165549001191]