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.0008032/0.0008032, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003287/0.003287, allocations: 160.5 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8252/0.8252, allocations: 177.1 MB / 205 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 1.403e-06/1.403e-06, allocations: 0 / 325.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.998e-05/2.138e-05, allocations: 4.531 kB / 325.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.005818/0.00584, allocations: 6.885 MB / 332.8 MB, free: 8.453 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003282/0.009122, allocations: 1.878 MB / 334.6 MB, free: 6.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005807/0.009702, allocations: 31.81 kB / 334.7 MB, free: 6.539 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004256/0.01013, allocations: 233.7 kB / 334.9 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005574/0.01069, allocations: 472 kB / 335.4 MB, free: 5.844 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006468/0.01133, allocations: 0.5149 MB / 335.9 MB, free: 5.328 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001084/0.01242, allocations: 1.863 MB / 337.7 MB, free: 3.453 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000453/0.01287, allocations: 416.3 kB / 338.2 MB, free: 3.027 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009368/0.01381, allocations: 0.9901 MB / 339.1 MB, free: 2.035 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004157/0.01422, allocations: 0.5257 MB / 339.7 MB, free: 1.508 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.01436, allocations: 176 kB / 339.8 MB, free: 1.336 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.01449, allocations: 180 kB / 340 MB, free: 1.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.01466, allocations: 366.6 kB / 340.4 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000322/0.01498, allocations: 0.5378 MB / 340.9 MB, free: 268 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.0162, allocations: 2.095 MB / 343 MB, free: 14.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.0162, allocations: 4 kB / 343 MB, free: 14.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.0162, allocations: 0 / 343 MB, free: 14.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.01622, allocations: 0 / 343 MB, free: 14.16 MB / 314.7 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.0019/0.01812, allocations: 1.731 MB / 344.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.01815, allocations: 15.97 kB / 344.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.01831, allocations: 167.9 kB / 344.9 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007404/0.01905, allocations: 0.6808 MB / 345.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.451e-05/0.01909, allocations: 90.83 kB / 345.7 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003052/0.0194, allocations: 124.3 kB / 345.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.0209, allocations: 1.646 MB / 347.5 MB, free: 9.512 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.02091, allocations: 0 / 347.5 MB, free: 9.512 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.635e-05/0.02098, allocations: 56 kB / 347.5 MB, free: 9.457 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.02099, allocations: 31.94 kB / 347.5 MB, free: 9.426 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.02239, allocations: 1.122 MB / 348.7 MB, free: 8.297 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004317/0.02671, allocations: 4.237 MB / 352.9 MB, free: 3.875 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.02802, allocations: 0.9839 MB / 353.9 MB, free: 2.867 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006202/0.02864, allocations: 494.6 kB / 354.4 MB, free: 2.375 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/0.02868, allocations: 12.64 kB / 354.4 MB, free: 2.363 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.0287, allocations: 47.22 kB / 354.4 MB, free: 2.309 MB / 314.7 MB Notification: Performance of pre-optimization done (n=79): time 1.993e-06/0.02871, allocations: 0 / 354.4 MB, free: 2.309 MB / 314.7 MB Notification: Performance of matching and sorting (n=79): time 0.004113/0.03282, allocations: 2.469 MB / 356.9 MB, free: 15.81 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.03286, allocations: 89.77 kB / 357 MB, free: 15.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006131/0.03347, allocations: 0.7467 MB / 357.7 MB, free: 14.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.03351, allocations: 37.7 kB / 357.8 MB, free: 14.9 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.03377, allocations: 0.6092 MB / 358.4 MB, free: 14.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.03391, allocations: 289.5 kB / 358.7 MB, free: 14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.03407, allocations: 166.6 kB / 358.8 MB, free: 13.83 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.03419, allocations: 402.7 kB / 359.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004972/0.03469, allocations: 373.7 kB / 359.6 MB, free: 13.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008253/0.03552, allocations: 0.5778 MB / 360.2 MB, free: 12.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.03656, allocations: 0.952 MB / 361.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.03656, allocations: 0 / 361.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001644/0.03821, allocations: 1.35 MB / 362.5 MB, free: 9.988 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.03823, allocations: 8 kB / 362.5 MB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.03823, allocations: 8 kB / 362.5 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004281/0.03866, allocations: 222.7 kB / 362.7 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/0.0403, allocations: 0.8388 MB / 363.5 MB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007103/0.04741, allocations: 10.03 MB / 373.6 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/0.04783, allocations: 139.3 kB / 373.7 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.04787, allocations: 43.98 kB / 373.7 MB, free: 14.09 MB / 346.7 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.0003269/0.0482, allocations: 269.9 kB / 374 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.926e-05/0.04829, allocations: 95.44 kB / 374.1 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.04844, allocations: 108 kB / 374.2 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.04845, allocations: 11.94 kB / 374.2 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.04845, allocations: 4 kB / 374.2 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.04846, allocations: 3.984 kB / 374.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/0.05116, allocations: 2.142 MB / 376.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.05116, allocations: 64 / 376.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.05143, allocations: 123.9 kB / 376.5 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006459/0.05207, allocations: 428.7 kB / 376.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.0521, allocations: 19.98 kB / 376.9 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006558/0.05866, allocations: 10.07 MB / 387 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.05866, allocations: 3.984 kB / 387 MB, free: 124 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.06133, allocations: 1.929 MB / 388.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.06145, allocations: 111.3 kB / 389 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.06151, allocations: 16 kB / 389.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/0.06186, allocations: 99.92 kB / 389.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.06196, allocations: 64.47 kB / 389.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.06199, allocations: 27.98 kB / 389.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004159/0.06241, allocations: 0.4951 MB / 389.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06241, allocations: 0 / 389.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000842/0.06325, allocations: 375.1 kB / 390.1 MB, free: 12.98 MB / 362.7 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.0001439/0.06339, allocations: 131.1 kB / 390.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002826/0.06622, allocations: 1.948 MB / 392.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.06622, allocations: 4 kB / 392.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008431/0.06707, allocations: 1.141 MB / 393.3 MB, free: 9.633 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005706/0.06764, allocations: 184.7 kB / 393.5 MB, free: 9.457 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/0.07056, allocations: 2.25 MB / 395.8 MB, free: 7.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.07087, allocations: 0.4921 MB / 396.2 MB, free: 6.637 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.071, allocations: 60.5 kB / 396.3 MB, free: 6.578 MB / 362.7 MB Notification: Performance of SimCode: time 9.11e-07/0.071, allocations: 0 / 396.3 MB, free: 6.578 MB / 362.7 MB Notification: Performance of Templates: time 0.02688/0.09788, allocations: 43.2 MB / 439.5 MB, free: 11.37 MB / 410.7 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: 6.269755688495934]