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.001942/0.001942, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002253/0.002253, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.499/1.499, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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 1.432e-06/1.432e-06, allocations: 0 / 272.4 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.727e-05, allocations: 2.312 kB / 272.4 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009878/0.009905, allocations: 6.878 MB / 279.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004617/0.01452, allocations: 1.866 MB / 281.1 MB, free: 8.992 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008578/0.01538, allocations: 35.81 kB / 281.2 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000565/0.01595, allocations: 237.6 kB / 281.4 MB, free: 8.723 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.01699, allocations: 472 kB / 281.8 MB, free: 8.258 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009922/0.01798, allocations: 0.4993 MB / 282.3 MB, free: 7.758 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002322/0.0203, allocations: 1.867 MB / 284.2 MB, free: 5.883 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007555/0.02105, allocations: 420.2 kB / 284.6 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.02247, allocations: 0.994 MB / 285.6 MB, free: 4.449 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007712/0.02324, allocations: 0.5179 MB / 286.1 MB, free: 3.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004971/0.02374, allocations: 180 kB / 286.3 MB, free: 3.754 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002727/0.02401, allocations: 176 kB / 286.5 MB, free: 3.582 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003468/0.02436, allocations: 370.6 kB / 286.8 MB, free: 3.219 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006729/0.02503, allocations: 0.5339 MB / 287.4 MB, free: 2.684 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002379/0.02741, allocations: 2.091 MB / 289.5 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.02741, allocations: 0 / 289.5 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.02742, allocations: 0 / 289.5 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.378e-05/0.02744, allocations: 7.938 kB / 289.5 MB, free: 0.5781 MB / 266.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.1057/0.1331, allocations: 1.726 MB / 291.2 MB, free: 28.58 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1332, allocations: 9.672 kB / 291.2 MB, free: 28.58 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004408/0.1336, allocations: 261.1 kB / 291.5 MB, free: 28.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.1349, allocations: 0.7144 MB / 292.2 MB, free: 28.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.852e-05/0.135, allocations: 89.28 kB / 292.3 MB, free: 28.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/0.1352, allocations: 138 kB / 292.4 MB, free: 27.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002651/0.1378, allocations: 1.638 MB / 294 MB, free: 27.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.1378, allocations: 1.703 kB / 294 MB, free: 27.01 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.1379, allocations: 51.97 kB / 294.1 MB, free: 26.97 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/0.138, allocations: 30.47 kB / 294.1 MB, free: 26.97 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002548/0.1405, allocations: 1.118 MB / 295.2 MB, free: 26.6 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007684/0.1482, allocations: 4.292 MB / 299.5 MB, free: 24.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002399/0.1506, allocations: 0.9982 MB / 300.5 MB, free: 23.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/0.1517, allocations: 488.8 kB / 301 MB, free: 23.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.571e-05/0.1518, allocations: 18.19 kB / 301 MB, free: 23.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.1518, allocations: 45.84 kB / 301.1 MB, free: 23.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=79): time 3.487e-06/0.1518, allocations: 0 / 301.1 MB, free: 23.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=79): time 0.008079/0.1599, allocations: 2.492 MB / 303.6 MB, free: 22.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.16, allocations: 85.52 kB / 303.6 MB, free: 22.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009017/0.1609, allocations: 0.7573 MB / 304.4 MB, free: 21.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.921e-05/0.1609, allocations: 41.7 kB / 304.4 MB, free: 21.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/0.1612, allocations: 0.604 MB / 305 MB, free: 21.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.1613, allocations: 293.4 kB / 305.3 MB, free: 20.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.1616, allocations: 169.5 kB / 305.5 MB, free: 20.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.079e-05/0.1616, allocations: 398.7 kB / 305.9 MB, free: 20.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007407/0.1624, allocations: 373.7 kB / 306.3 MB, free: 19.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008333/0.1632, allocations: 0.5824 MB / 306.8 MB, free: 19.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.1647, allocations: 0.9488 MB / 307.8 MB, free: 18.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1647, allocations: 2.406 kB / 307.8 MB, free: 18.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002692/0.1674, allocations: 1.395 MB / 309.2 MB, free: 16.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1674, allocations: 4 kB / 309.2 MB, free: 16.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.1674, allocations: 8 kB / 309.2 MB, free: 16.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/0.1687, allocations: 365.8 kB / 309.6 MB, free: 16.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00304/0.1718, allocations: 0.8311 MB / 310.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.1818, allocations: 10.06 MB / 320.4 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.1828, allocations: 140.4 kB / 320.6 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.925e-05/0.1829, allocations: 36 kB / 320.6 MB, free: 4.719 MB / 266.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.0004697/0.1834, allocations: 273.7 kB / 320.9 MB, free: 4.441 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.1835, allocations: 127.4 kB / 321 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.1837, allocations: 96.12 kB / 321.1 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1837, allocations: 8 kB / 321.1 MB, free: 4.211 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.1837, allocations: 128 / 321.1 MB, free: 4.211 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.1837, allocations: 7.984 kB / 321.1 MB, free: 4.203 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004122/0.1878, allocations: 2.145 MB / 323.3 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.1879, allocations: 3.984 kB / 323.3 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004805/0.1883, allocations: 123.8 kB / 323.4 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002302/0.1906, allocations: 0.685 MB / 324.1 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.982e-05/0.1907, allocations: 15.98 kB / 324.1 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01417/0.2049, allocations: 10.11 MB / 334.2 MB, free: 6.469 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2049, allocations: 0 / 334.2 MB, free: 6.469 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005338/0.2102, allocations: 1.956 MB / 336.2 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000693/0.2109, allocations: 107.2 kB / 336.3 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.211, allocations: 16 kB / 336.3 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000789/0.2118, allocations: 99.91 kB / 336.4 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.212, allocations: 68.53 kB / 336.4 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.498e-05/0.212, allocations: 20 kB / 336.5 MB, free: 4.168 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007659/0.2128, allocations: 0.499 MB / 337 MB, free: 3.676 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2128, allocations: 0 / 337 MB, free: 3.676 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001493/0.2143, allocations: 363.2 kB / 337.3 MB, free: 3.32 MB / 282.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.0002419/0.2145, allocations: 131.1 kB / 337.4 MB, free: 3.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.006189/0.2207, allocations: 1.965 MB / 339.4 MB, free: 1.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.2207, allocations: 0 / 339.4 MB, free: 1.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002007/0.2227, allocations: 1.145 MB / 340.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.224, allocations: 190.7 kB / 340.7 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005239/0.2293, allocations: 2.263 MB / 343 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006119/0.2299, allocations: 496 kB / 343.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006032/0.2305, allocations: 86.89 kB / 343.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.2306, allocations: 56.5 kB / 343.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of SimCode: time 1.733e-06/0.2306, allocations: 4 kB / 343.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of Templates: time 0.0298/0.2605, allocations: 13.36 MB / 357 MB, free: 15.7 MB / 314.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: 5.118158504948951]