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.00163/0.00163, allocations: 123.4 kB / 18.46 MB, free: 4.598 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.00187/0.00187, allocations: 192.3 kB / 21.4 MB, free: 1.668 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.391/1.391, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.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.001497/0.001497, allocations: 51.92 kB / 366.9 MB, free: 312 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0947/0.09619, allocations: 52.14 MB / 419 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009197/0.1054, allocations: 7.891 MB / 426.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003681/0.1091, allocations: 1.874 MB / 428.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006357/0.1097, allocations: 27.88 kB / 428.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005152/0.1102, allocations: 233.7 kB / 429 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008746/0.1111, allocations: 456.3 kB / 429.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008554/0.112, allocations: 0.4955 MB / 430 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0019/0.1139, allocations: 1.806 MB / 431.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006855/0.1145, allocations: 447.8 kB / 432.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007911/0.1153, allocations: 0.6383 MB / 432.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008829/0.1162, allocations: 0.7117 MB / 433.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002394/0.1164, allocations: 180 kB / 433.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002678/0.1167, allocations: 183.9 kB / 433.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003102/0.117, allocations: 354.8 kB / 434.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007859/0.1178, allocations: 0.7776 MB / 435 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002086/0.1199, allocations: 2.058 MB / 437.1 MB, free: 9.883 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1199, allocations: 3.938 kB / 437.1 MB, free: 9.879 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1199, allocations: 0 / 437.1 MB, free: 9.879 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.304e-05/0.1199, allocations: 0 / 437.1 MB, free: 9.879 MB / 366.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.003561/0.1235, allocations: 1.831 MB / 438.9 MB, free: 7.992 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1235, allocations: 8.031 kB / 438.9 MB, free: 7.984 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002601/0.1238, allocations: 164 kB / 439.1 MB, free: 7.824 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.125, allocations: 0.7614 MB / 439.9 MB, free: 7.023 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.447e-05/0.1251, allocations: 98.39 kB / 439.9 MB, free: 6.926 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/0.1253, allocations: 116 kB / 440.1 MB, free: 6.812 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/0.1279, allocations: 1.316 MB / 441.4 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.128, allocations: 0 / 441.4 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.1281, allocations: 52 kB / 441.4 MB, free: 5.395 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/0.1281, allocations: 32 kB / 441.5 MB, free: 5.363 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002571/0.1307, allocations: 1.122 MB / 442.6 MB, free: 4.234 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1835/0.3142, allocations: 4.949 MB / 447.5 MB, free: 28.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/0.3163, allocations: 1.145 MB / 448.7 MB, free: 27.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.3173, allocations: 489.6 kB / 449.2 MB, free: 27.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.003e-05/0.3174, allocations: 15.38 kB / 449.2 MB, free: 27.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.3174, allocations: 43.78 kB / 449.2 MB, free: 27.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.675e-06/0.3174, allocations: 1.578 kB / 449.2 MB, free: 27.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.007984/0.3254, allocations: 2.928 MB / 452.1 MB, free: 27.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.3254, allocations: 89.17 kB / 452.2 MB, free: 26.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.3265, allocations: 0.8103 MB / 453 MB, free: 26.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.425e-05/0.3266, allocations: 43.92 kB / 453.1 MB, free: 26.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/0.3269, allocations: 0.6022 MB / 453.7 MB, free: 26.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.3271, allocations: 295.3 kB / 454 MB, free: 26.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002967/0.3274, allocations: 171 kB / 454.1 MB, free: 26.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.994e-05/0.3275, allocations: 341.6 kB / 454.5 MB, free: 26.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009482/0.3284, allocations: 371.8 kB / 454.8 MB, free: 26.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009502/0.3294, allocations: 0.5831 MB / 455.4 MB, free: 25.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.3311, allocations: 0.9471 MB / 456.4 MB, free: 25.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.3311, allocations: 1.406 kB / 456.4 MB, free: 25.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003075/0.3342, allocations: 1.36 MB / 457.7 MB, free: 24.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.3342, allocations: 8.406 kB / 457.7 MB, free: 24.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.3342, allocations: 7.141 kB / 457.7 MB, free: 24.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000782/0.335, allocations: 229.5 kB / 458 MB, free: 24.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003599/0.3386, allocations: 0.8238 MB / 458.8 MB, free: 24.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0113/0.3499, allocations: 10.85 MB / 469.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.3509, allocations: 143.1 kB / 469.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.168e-05/0.351, allocations: 38.56 kB / 469.8 MB, free: 15.41 MB / 366.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.0004901/0.3515, allocations: 281 kB / 470.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.3516, allocations: 107.3 kB / 470.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.3518, allocations: 108.2 kB / 470.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.3518, allocations: 8.25 kB / 470.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.3518, allocations: 0 / 470.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.3518, allocations: 5.219 kB / 470.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004962/0.3568, allocations: 2.45 MB / 472.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.3568, allocations: 2.047 kB / 472.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005397/0.3573, allocations: 123 kB / 472.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001322/0.3587, allocations: 429.5 kB / 473.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.948e-05/0.3587, allocations: 18.73 kB / 473.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/0.3694, allocations: 10.89 MB / 484.2 MB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3694, allocations: 8.469 kB / 484.2 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004411/0.3738, allocations: 1.94 MB / 486.2 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002854/0.3741, allocations: 194 kB / 486.4 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.481e-05/0.3742, allocations: 17.12 kB / 486.4 MB, free: 3.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007591/0.375, allocations: 108.3 kB / 486.5 MB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.3751, allocations: 60.27 kB / 486.5 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/0.3752, allocations: 21.22 kB / 486.6 MB, free: 3.223 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006787/0.3759, allocations: 0.552 MB / 487.1 MB, free: 2.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3759, allocations: 1.531 kB / 487.1 MB, free: 2.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001327/0.3772, allocations: 365 kB / 487.5 MB, free: 2.824 MB / 366.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.0001745/0.3774, allocations: 125.6 kB / 487.6 MB, free: 2.715 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005218/0.3826, allocations: 1.951 MB / 489.5 MB, free: 1.746 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.3826, allocations: 3.969 kB / 489.5 MB, free: 1.746 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.3839, allocations: 1.144 MB / 490.7 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.3849, allocations: 206 kB / 490.9 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004466/0.3894, allocations: 2.366 MB / 493.3 MB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006873/0.3901, allocations: 1.076 MB / 494.3 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.3903, allocations: 59.03 kB / 494.4 MB, free: 14.45 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3903, allocations: 0 / 494.4 MB, free: 14.45 MB / 382.1 MB Notification: Performance of Templates: time 0.04545/0.4357, allocations: 43.23 MB / 0.525 GB, free: 3.492 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.546580472961068]