Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001619/0.001619, allocations: 82.59 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001635/0.001635, allocations: 167.6 kB / 24.82 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9799/0.9799, allocations: 177 MB / 205.1 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.697e-05, allocations: 2.312 kB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.005615/0.005632, allocations: 7.599 MB / 281 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002857/0.008489, allocations: 1.8 MB / 282.8 MB, free: 7.738 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006471/0.009136, allocations: 39.75 kB / 282.8 MB, free: 7.699 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005259/0.009662, allocations: 245.6 kB / 283.1 MB, free: 7.457 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008249/0.01049, allocations: 0.492 MB / 283.6 MB, free: 6.961 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.01102, allocations: 415.4 kB / 284 MB, free: 6.555 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001466/0.01248, allocations: 1.86 MB / 285.8 MB, free: 4.688 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005397/0.01302, allocations: 416.5 kB / 286.2 MB, free: 4.258 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.01405, allocations: 1.006 MB / 287.2 MB, free: 3.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005324/0.01458, allocations: 0.5608 MB / 287.8 MB, free: 2.688 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000171/0.01475, allocations: 184 kB / 288 MB, free: 2.508 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.01492, allocations: 180 kB / 288.2 MB, free: 2.332 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.0151, allocations: 378.5 kB / 288.5 MB, free: 1.961 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003753/0.01548, allocations: 0.5533 MB / 289.1 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008157/0.01629, allocations: 1.129 MB / 290.2 MB, free: 280 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.0163, allocations: 4 kB / 290.2 MB, free: 276 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.0163, allocations: 0 / 290.2 MB, free: 276 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.01631, allocations: 4 kB / 290.2 MB, free: 272 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.1153/0.1316, allocations: 1.792 MB / 292 MB, free: 26.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.1317, allocations: 9.656 kB / 292 MB, free: 26.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003753/0.1321, allocations: 273.5 kB / 292.3 MB, free: 26.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009655/0.133, allocations: 0.7242 MB / 293 MB, free: 26.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.074e-05/0.1331, allocations: 98.02 kB / 293.1 MB, free: 26.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.1332, allocations: 135.8 kB / 293.2 MB, free: 26.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.1347, allocations: 1.306 MB / 294.5 MB, free: 25.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.1347, allocations: 0 / 294.5 MB, free: 25.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.469e-05/0.1347, allocations: 56.75 kB / 294.6 MB, free: 25.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/0.1348, allocations: 36.12 kB / 294.6 MB, free: 25.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007074/0.1355, allocations: 402.9 kB / 295 MB, free: 25.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004573/0.14, allocations: 3.779 MB / 298.8 MB, free: 23.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000713/0.1408, allocations: 0.5988 MB / 299.4 MB, free: 23.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003495/0.1411, allocations: 271.8 kB / 299.7 MB, free: 23.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.925e-05/0.1412, allocations: 24.45 kB / 299.7 MB, free: 23.53 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.1412, allocations: 60.92 kB / 299.8 MB, free: 23.47 MB / 266.7 MB Notification: Performance of pre-optimization done (n=94): time 2.935e-06/0.1412, allocations: 0 / 299.8 MB, free: 23.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.002188/0.1434, allocations: 1.191 MB / 300.9 MB, free: 23.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.1434, allocations: 96.66 kB / 301 MB, free: 23.06 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005424/0.1439, allocations: 0.6866 MB / 301.7 MB, free: 22.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.144, allocations: 48.58 kB / 301.8 MB, free: 22.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.1442, allocations: 0.6613 MB / 302.4 MB, free: 22.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.1444, allocations: 335.5 kB / 302.8 MB, free: 22.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.1446, allocations: 187.5 kB / 302.9 MB, free: 21.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1447, allocations: 0.5793 MB / 303.5 MB, free: 21.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.1448, allocations: 112 kB / 303.6 MB, free: 21.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.1451, allocations: 393.5 kB / 304 MB, free: 21.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.1455, allocations: 0.5652 MB / 304.6 MB, free: 20.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.1455, allocations: 6.469 kB / 304.6 MB, free: 20.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001158/0.1467, allocations: 0.9301 MB / 305.5 MB, free: 20.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1467, allocations: 7.156 kB / 305.5 MB, free: 20.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.1467, allocations: 5.594 kB / 305.5 MB, free: 20.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008903/0.1476, allocations: 418.4 kB / 305.9 MB, free: 20.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.1479, allocations: 188.2 kB / 306.1 MB, free: 20.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004266/0.1522, allocations: 12.17 MB / 318.3 MB, free: 7.566 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/0.1527, allocations: 103.3 kB / 318.4 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.1528, allocations: 36 kB / 318.4 MB, free: 7.43 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 10 (firstOrder2A.opAmp.satNeg,firstOrder2A.opAmp.satPos,addA.opAmp.satNeg,addA.opAmp.satPos,firstOrder1A.opAmp.satNeg,firstOrder1A.opAmp.satPos,PIA.opAmp.satNeg,PIA.opAmp.satPos,feedbackA.opAmp.satNeg,feedbackA.opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 103 * 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,6), (1,6), (1,2), (1,8), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003002/0.1531, allocations: 232.2 kB / 318.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.1532, allocations: 135.4 kB / 318.8 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.209e-05/0.1533, allocations: 105.4 kB / 318.9 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1533, allocations: 8 kB / 318.9 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/0.1533, allocations: 0 / 318.9 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1533, allocations: 3.984 kB / 318.9 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.1548, allocations: 1.497 MB / 320.4 MB, free: 5.375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1548, allocations: 0 / 320.4 MB, free: 5.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.155, allocations: 127.7 kB / 320.5 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007304/0.1558, allocations: 405.5 kB / 320.9 MB, free: 4.836 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.1558, allocations: 23.98 kB / 321 MB, free: 4.812 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004436/0.1602, allocations: 12.17 MB / 333.1 MB, free: 7.938 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1602, allocations: 0 / 333.1 MB, free: 7.938 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.1615, allocations: 1.182 MB / 334.3 MB, free: 6.703 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.1616, allocations: 107.2 kB / 334.4 MB, free: 6.598 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.527e-05/0.1617, allocations: 27.94 kB / 334.4 MB, free: 6.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.162, allocations: 75.94 kB / 334.5 MB, free: 6.496 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.1621, allocations: 100.8 kB / 334.6 MB, free: 6.395 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.1621, allocations: 20 kB / 334.6 MB, free: 6.375 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002659/0.1624, allocations: 426.8 kB / 335 MB, free: 5.961 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1624, allocations: 0 / 335 MB, free: 5.961 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009878/0.1634, allocations: 399.1 kB / 335.4 MB, free: 5.57 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: 10 (feedbackA.opAmp.satPos,feedbackA.opAmp.satNeg,PIA.opAmp.satPos,PIA.opAmp.satNeg,firstOrder1A.opAmp.satPos,firstOrder1A.opAmp.satNeg,addA.opAmp.satPos,addA.opAmp.satNeg,firstOrder2A.opAmp.satPos,firstOrder2A.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 62 * 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,6), (1,6), (1,2), (1,8), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001523/0.1635, allocations: 136 kB / 335.6 MB, free: 5.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.1647, allocations: 1.568 MB / 337.1 MB, free: 3.758 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.1647, allocations: 4 kB / 337.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008062/0.1655, allocations: 1.365 MB / 338.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006038/0.1661, allocations: 201.7 kB / 338.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.1687, allocations: 2.084 MB / 340.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.1688, allocations: 226.6 kB / 341 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002451/0.1691, allocations: 91.34 kB / 341.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/0.1694, allocations: 290.1 kB / 341.4 MB, free: 15.35 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1694, allocations: 0 / 341.4 MB, free: 15.35 MB / 298.7 MB Notification: Performance of Templates: time 0.01969/0.1891, allocations: 16.23 MB / 357.6 MB, free: 15.4 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.44972859416157]