Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_cpp_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_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009566/0.0009567, allocations: 191.2 kB / 17.37 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 226.6 MB / 244.7 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008421/0.0008421, allocations: 106.6 kB / 296.8 MB, free: 6.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002301/0.0002302, allocations: 8 kB / 356.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1947, allocations: 51.29 MB / 408.1 MB, free: 27.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.004562/0.1993, allocations: 6.879 MB / 414.9 MB, free: 20.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002514/0.2018, allocations: 1.862 MB / 416.8 MB, free: 18.97 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005822/0.2024, allocations: 23.94 kB / 416.8 MB, free: 18.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.2027, allocations: 174.5 kB / 417 MB, free: 18.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005961/0.2033, allocations: 357.1 kB / 417.3 MB, free: 18.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000547/0.2039, allocations: 315.5 kB / 417.7 MB, free: 18.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.205, allocations: 1.63 MB / 419.3 MB, free: 16.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005663/0.2056, allocations: 0.5175 MB / 419.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004016/0.206, allocations: 0.4979 MB / 420.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000433/0.2064, allocations: 0.5793 MB / 420.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.2065, allocations: 76 kB / 421 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.2067, allocations: 80 kB / 421 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.2068, allocations: 230.9 kB / 421.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003668/0.2072, allocations: 0.6547 MB / 421.9 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007957/0.208, allocations: 1.582 MB / 423.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.208, allocations: 4 kB / 423.5 MB, free: 12.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.208, allocations: 0 / 423.5 MB, free: 12.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.208, allocations: 0 / 423.5 MB, free: 12.22 MB / 298.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.002334/0.2104, allocations: 1.583 MB / 425.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.2104, allocations: 8.031 kB / 425.1 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.2106, allocations: 155.2 kB / 425.2 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007256/0.2113, allocations: 0.7334 MB / 426 MB, free: 9.648 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.772e-05/0.2114, allocations: 102.4 kB / 426.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.2115, allocations: 124 kB / 426.2 MB, free: 9.426 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.2135, allocations: 1.32 MB / 427.5 MB, free: 8.055 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.2135, allocations: 3.938 kB / 427.5 MB, free: 8.051 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-05/0.2136, allocations: 52 kB / 427.6 MB, free: 8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.2137, allocations: 28 kB / 427.6 MB, free: 7.973 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/0.2157, allocations: 1.149 MB / 428.7 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005996/0.2218, allocations: 5.062 MB / 433.8 MB, free: 1.531 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.2238, allocations: 1.246 MB / 435.1 MB, free: 228 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.2248, allocations: 0.5529 MB / 435.6 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.908e-05/0.2249, allocations: 12.59 kB / 435.6 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.2249, allocations: 47.22 kB / 435.7 MB, free: 15.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=79): time 3.006e-06/0.2249, allocations: 4 kB / 435.7 MB, free: 15.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=79): time 0.008295/0.2332, allocations: 3.158 MB / 438.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.2333, allocations: 85.77 kB / 438.9 MB, free: 12.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.2344, allocations: 0.8018 MB / 439.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.407e-05/0.2344, allocations: 41.7 kB / 439.8 MB, free: 11.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/0.2348, allocations: 0.5882 MB / 440.3 MB, free: 10.74 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.2351, allocations: 279.9 kB / 440.6 MB, free: 10.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.2351, allocations: 20 kB / 440.6 MB, free: 10.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.2353, allocations: 353.8 kB / 441 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008857/0.2362, allocations: 381.8 kB / 441.4 MB, free: 9.719 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.2372, allocations: 0.5973 MB / 441.9 MB, free: 9.035 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/0.239, allocations: 0.9911 MB / 442.9 MB, free: 7.957 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.239, allocations: 0 / 442.9 MB, free: 7.957 MB / 314.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003094/0.2421, allocations: 1.412 MB / 444.4 MB, free: 6.523 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.2422, allocations: 8 kB / 444.4 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.2422, allocations: 4 kB / 444.4 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007678/0.243, allocations: 234.7 kB / 444.6 MB, free: 6.273 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00346/0.2465, allocations: 0.9365 MB / 445.5 MB, free: 5.336 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/0.2585, allocations: 10.21 MB / 455.7 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009137/0.2594, allocations: 158.8 kB / 455.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.049e-05/0.2595, allocations: 39.98 kB / 455.9 MB, free: 10.14 MB / 330.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 (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.0004752/0.26, allocations: 277.5 kB / 456.2 MB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.2602, allocations: 102.9 kB / 456.3 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.2603, allocations: 108.9 kB / 456.4 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.2604, allocations: 8 kB / 456.4 MB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.2604, allocations: 0 / 456.4 MB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.2604, allocations: 3.984 kB / 456.4 MB, free: 9.629 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004796/0.2652, allocations: 2.537 MB / 459 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.2652, allocations: 0 / 459 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005282/0.2657, allocations: 123.9 kB / 459.1 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00128/0.267, allocations: 456.8 kB / 459.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.743e-05/0.2671, allocations: 16 kB / 459.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01119/0.2783, allocations: 10.12 MB / 469.7 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2783, allocations: 0 / 469.7 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00455/0.2829, allocations: 2.044 MB / 471.7 MB, free: 9.398 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002846/0.2832, allocations: 183.8 kB / 471.9 MB, free: 9.199 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.2833, allocations: 23.92 kB / 471.9 MB, free: 9.176 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007549/0.2841, allocations: 115.9 kB / 472 MB, free: 9.062 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.2843, allocations: 68.47 kB / 472.1 MB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/0.2843, allocations: 20 kB / 472.1 MB, free: 8.977 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007172/0.285, allocations: 0.5497 MB / 472.7 MB, free: 8.434 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.285, allocations: 0 / 472.7 MB, free: 8.434 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001192/0.2862, allocations: 359 kB / 473 MB, free: 8.082 MB / 346.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 (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.0001855/0.2864, allocations: 131.1 kB / 473.1 MB, free: 7.945 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005526/0.292, allocations: 2.135 MB / 475.3 MB, free: 5.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.292, allocations: 4 kB / 475.3 MB, free: 5.766 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001609/0.2936, allocations: 1.172 MB / 476.4 MB, free: 4.516 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.2948, allocations: 202.9 kB / 476.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00473/0.2995, allocations: 2.807 MB / 479.5 MB, free: 1.473 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007274/0.3003, allocations: 1.074 MB / 480.5 MB, free: 384 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.3005, allocations: 63.44 kB / 480.6 MB, free: 320 kB / 346.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3005, allocations: 0 / 480.6 MB, free: 320 kB / 346.7 MB Notification: Performance of Templates: time 0.1775/0.4781, allocations: 42.87 MB / 0.5112 GB, free: 90.31 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches