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.001287/0.001287, allocations: 112.2 kB / 19.04 MB, free: 3.254 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.001299/0.001299, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 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.452/1.452, allocations: 225.6 MB / 250.8 MB, free: 13.34 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.001516/0.001516, allocations: 51.92 kB / 368.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3175, allocations: 52.13 MB / 420.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009651/0.3272, allocations: 7.933 MB / 428.8 MB, free: 7.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004973/0.3322, allocations: 1.874 MB / 430.7 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.3335, allocations: 23.94 kB / 430.7 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007167/0.3342, allocations: 241.7 kB / 431 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.3356, allocations: 452.2 kB / 431.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.3366, allocations: 0.4955 MB / 431.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002402/0.339, allocations: 1.798 MB / 433.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007627/0.3398, allocations: 443.9 kB / 434.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009497/0.3408, allocations: 0.6383 MB / 434.8 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.3419, allocations: 0.7155 MB / 435.5 MB, free: 436 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003204/0.3422, allocations: 180 kB / 435.7 MB, free: 256 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.3425, allocations: 180 kB / 435.8 MB, free: 76 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003948/0.3429, allocations: 366.8 kB / 436.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008962/0.3438, allocations: 0.7697 MB / 437 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002472/0.3463, allocations: 2.052 MB / 439 MB, free: 12.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3463, allocations: 0 / 439 MB, free: 12.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3463, allocations: 4 kB / 439 MB, free: 12.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.751e-05/0.3463, allocations: 0 / 439 MB, free: 12.88 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.003844/0.3502, allocations: 1.831 MB / 440.9 MB, free: 11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.3502, allocations: 8.031 kB / 440.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002787/0.3505, allocations: 164 kB / 441 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.3518, allocations: 0.7576 MB / 441.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-05/0.3519, allocations: 94.39 kB / 441.9 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/0.3521, allocations: 120 kB / 442 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002586/0.3547, allocations: 1.316 MB / 443.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.3547, allocations: 0 / 443.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.3548, allocations: 55.94 kB / 443.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.999e-05/0.3548, allocations: 32 kB / 443.4 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002528/0.3574, allocations: 1.118 MB / 444.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008866/0.3662, allocations: 4.95 MB / 449.5 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002512/0.3687, allocations: 1.16 MB / 450.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001137/0.3699, allocations: 494.2 kB / 451.1 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-05/0.3699, allocations: 12.66 kB / 451.1 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.468e-05/0.37, allocations: 51.16 kB / 451.2 MB, free: 292 kB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 3.526e-06/0.37, allocations: 0 / 451.2 MB, free: 292 kB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.008737/0.3787, allocations: 2.921 MB / 454.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.3788, allocations: 89.7 kB / 454.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.3802, allocations: 0.8059 MB / 455 MB, free: 12.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.237e-05/0.3803, allocations: 45.64 kB / 455 MB, free: 12.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004863/0.3807, allocations: 0.6053 MB / 455.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/0.381, allocations: 293.5 kB / 455.9 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003028/0.3813, allocations: 174.6 kB / 456.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3815, allocations: 345.9 kB / 456.4 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009234/0.3824, allocations: 369.8 kB / 456.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.3835, allocations: 0.5856 MB / 457.4 MB, free: 9.793 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00195/0.3855, allocations: 0.9521 MB / 458.3 MB, free: 8.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/0.3855, allocations: 4 kB / 458.3 MB, free: 8.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00347/0.3889, allocations: 1.351 MB / 459.7 MB, free: 7.383 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.389, allocations: 12 kB / 459.7 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/0.389, allocations: 8 kB / 459.7 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009165/0.3899, allocations: 222.7 kB / 459.9 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003532/0.3934, allocations: 0.8311 MB / 460.7 MB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01503/0.4085, allocations: 10.86 MB / 471.6 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.4096, allocations: 147.2 kB / 471.7 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.435e-05/0.4097, allocations: 39.98 kB / 471.8 MB, free: 10.43 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.0005768/0.4103, allocations: 269.6 kB / 472 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.4105, allocations: 107.3 kB / 472.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/0.4107, allocations: 104.8 kB / 472.3 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.4107, allocations: 12 kB / 472.3 MB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.4107, allocations: 7.938 kB / 472.3 MB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.4107, allocations: 3.984 kB / 472.3 MB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005353/0.4161, allocations: 2.444 MB / 474.7 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.4161, allocations: 0 / 474.7 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005608/0.4166, allocations: 119.9 kB / 474.8 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001455/0.4181, allocations: 428.8 kB / 475.3 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.635e-05/0.4182, allocations: 20 kB / 475.3 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01428/0.4324, allocations: 10.9 MB / 486.2 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4324, allocations: 3.938 kB / 486.2 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004789/0.4372, allocations: 1.937 MB / 488.1 MB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004488/0.4377, allocations: 196.3 kB / 488.3 MB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.4378, allocations: 16.12 kB / 488.3 MB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007893/0.4386, allocations: 107.8 kB / 488.4 MB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.4388, allocations: 68.36 kB / 488.5 MB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.617e-05/0.4388, allocations: 24 kB / 488.5 MB, free: 8.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007826/0.4396, allocations: 0.5498 MB / 489.1 MB, free: 8.133 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4396, allocations: 0 / 489.1 MB, free: 8.133 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001313/0.4409, allocations: 359.3 kB / 489.4 MB, free: 7.781 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.0002223/0.4411, allocations: 123.2 kB / 489.5 MB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006031/0.4472, allocations: 1.951 MB / 491.5 MB, free: 5.664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/0.4472, allocations: 4 kB / 491.5 MB, free: 5.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001956/0.4491, allocations: 1.14 MB / 492.6 MB, free: 4.445 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.4505, allocations: 199.3 kB / 492.8 MB, free: 4.258 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005417/0.4559, allocations: 2.343 MB / 495.2 MB, free: 1.871 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008478/0.4568, allocations: 1.074 MB / 496.3 MB, free: 0.7656 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000517/0.4573, allocations: 103.5 kB / 496.4 MB, free: 0.6602 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.4575, allocations: 55.44 kB / 496.4 MB, free: 0.6055 MB / 398.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4575, allocations: 0 / 496.4 MB, free: 0.6055 MB / 398.1 MB Notification: Performance of Templates: time 0.02829/0.4858, allocations: 15.08 MB / 0.4995 GB, free: 1.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.092918789945543]