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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 94.64 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 181.4 kB / 17.2 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.2 MB / 241.1 MB, free: 5.43 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004497/0.0004499, allocations: 7.031 kB / 300.7 MB, free: 6.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1353, allocations: 50.43 MB / 351.2 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.007924/0.1433, allocations: 6.32 MB / 357.5 MB, free: 5.488 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005314/0.1487, allocations: 1.906 MB / 359.4 MB, free: 3.578 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001993/0.1507, allocations: 23.94 kB / 359.4 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.1517, allocations: 162.7 kB / 359.6 MB, free: 3.395 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00226/0.154, allocations: 0.5024 MB / 360.1 MB, free: 2.891 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.1551, allocations: 303.6 kB / 360.4 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002273/0.1573, allocations: 1.154 MB / 361.5 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008338/0.1582, allocations: 473.5 kB / 362 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007028/0.1589, allocations: 0.4903 MB / 362.5 MB, free: 472 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007308/0.1596, allocations: 0.5833 MB / 363 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.1598, allocations: 76 kB / 363.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.16, allocations: 72 kB / 363.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.1602, allocations: 239 kB / 363.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00029/0.1605, allocations: 281 kB / 363.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.162, allocations: 1.589 MB / 365.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.162, allocations: 0 / 365.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.008e-06/0.1621, allocations: 0 / 365.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.526e-05/0.1621, allocations: 0 / 365.3 MB, free: 13.62 MB / 302.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.003292/0.1654, allocations: 1.598 MB / 366.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/0.1655, allocations: 15.95 kB / 366.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000282/0.1657, allocations: 154.2 kB / 367.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.1668, allocations: 0.7015 MB / 367.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.728e-05/0.1669, allocations: 94.45 kB / 367.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.1671, allocations: 116 kB / 368 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002505/0.1696, allocations: 1.316 MB / 369.3 MB, free: 9.484 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.1696, allocations: 0 / 369.3 MB, free: 9.484 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.1697, allocations: 52 kB / 369.3 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.1698, allocations: 28 kB / 369.4 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002575/0.1724, allocations: 1.157 MB / 370.5 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007528/0.1799, allocations: 5.05 MB / 375.6 MB, free: 2.965 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002402/0.1823, allocations: 1.262 MB / 376.8 MB, free: 1.648 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.952e-05/0.1824, allocations: 8.812 kB / 376.8 MB, free: 1.641 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.1825, allocations: 43.22 kB / 376.9 MB, free: 1.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 2.545e-06/0.1825, allocations: 0 / 376.9 MB, free: 1.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.008627/0.1911, allocations: 3.139 MB / 380 MB, free: 14.31 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.1912, allocations: 85.77 kB / 380.1 MB, free: 14.21 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.1923, allocations: 0.802 MB / 380.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.616e-05/0.1923, allocations: 41.7 kB / 380.9 MB, free: 13.35 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004124/0.1928, allocations: 0.5881 MB / 381.5 MB, free: 12.76 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/0.193, allocations: 287.9 kB / 381.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.193, allocations: 16 kB / 381.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1932, allocations: 345.9 kB / 382.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000886/0.1941, allocations: 385.8 kB / 382.5 MB, free: 11.74 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009893/0.1951, allocations: 0.5934 MB / 383.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009382/0.196, allocations: 446.8 kB / 383.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.196, allocations: 4 kB / 383.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00307/0.1991, allocations: 1.408 MB / 385 MB, free: 9.191 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.1992, allocations: 12.27 kB / 385 MB, free: 9.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.1992, allocations: 12 kB / 385 MB, free: 9.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007717/0.2, allocations: 230.4 kB / 385.2 MB, free: 8.934 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00364/0.2036, allocations: 0.9443 MB / 386.2 MB, free: 7.988 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/0.217, allocations: 10.35 MB / 396.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.2181, allocations: 154.8 kB / 396.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.839e-05/0.2182, allocations: 44.05 kB / 396.7 MB, free: 12.64 MB / 334.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 (linear and non-linear blocks): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 7,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005562/0.2188, allocations: 269.6 kB / 397 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.219, allocations: 98.83 kB / 397.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/0.2191, allocations: 108.9 kB / 397.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.2192, allocations: 8 kB / 397.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.2192, allocations: 4 kB / 397.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/0.2192, allocations: 3.984 kB / 397.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005106/0.2243, allocations: 2.537 MB / 399.7 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.2243, allocations: 8 kB / 399.7 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005556/0.2249, allocations: 123.9 kB / 399.9 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001364/0.2263, allocations: 452.8 kB / 400.3 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/0.2263, allocations: 15.98 kB / 400.3 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01227/0.2386, allocations: 10.29 MB / 410.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2386, allocations: 0 / 410.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004878/0.2435, allocations: 2.076 MB / 412.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/0.2439, allocations: 187.8 kB / 412.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.244, allocations: 16 kB / 412.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007691/0.2447, allocations: 123.8 kB / 413 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.2449, allocations: 64.47 kB / 413.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.704e-05/0.245, allocations: 24 kB / 413.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007426/0.2457, allocations: 0.5381 MB / 413.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2457, allocations: 0 / 413.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001257/0.247, allocations: 359 kB / 414 MB, free: 10.39 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 5 {1 5,1 5,1 1,1 7,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002015/0.2472, allocations: 135 kB / 414.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005891/0.2531, allocations: 2.136 MB / 416.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.2531, allocations: 4 kB / 416.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001639/0.2548, allocations: 1.175 MB / 417.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.2558, allocations: 179.4 kB / 417.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004858/0.2607, allocations: 2.802 MB / 420.4 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/0.2613, allocations: 1.101 MB / 421.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000413/0.2617, allocations: 107.5 kB / 421.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.2618, allocations: 55.44 kB / 421.7 MB, free: 2.508 MB / 350.1 MB Notification: Performance of SimCode: time 6.02e-07/0.2618, allocations: 3.938 kB / 421.7 MB, free: 2.504 MB / 350.1 MB Notification: Performance of Templates: time 0.1923/0.4541, allocations: 12.89 MB / 434.6 MB, free: 60.65 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile (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) 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","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches