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.001465/0.001465, allocations: 196.5 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 226.6 MB / 244.3 MB, free: 6.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007824/0.0007824, allocations: 87.41 kB / 296.4 MB, free: 6.801 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002293/0.0002294, allocations: 11.94 kB / 356.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2117, allocations: 51.29 MB / 407.5 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.0051/0.2169, allocations: 6.883 MB / 414.4 MB, free: 20.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002816/0.2197, allocations: 1.847 MB / 416.2 MB, free: 19.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000514/0.2203, allocations: 23.94 kB / 416.3 MB, free: 19.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.2206, allocations: 170.6 kB / 416.4 MB, free: 18.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005613/0.2211, allocations: 359.7 kB / 416.8 MB, free: 18.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005594/0.2217, allocations: 311.5 kB / 417.1 MB, free: 18.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009485/0.2227, allocations: 1.622 MB / 418.7 MB, free: 16.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005332/0.2232, allocations: 465.6 kB / 419.2 MB, free: 16.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000385/0.2236, allocations: 0.498 MB / 419.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004207/0.224, allocations: 0.5793 MB / 420.2 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.2242, allocations: 76 kB / 420.3 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.2243, allocations: 76 kB / 420.4 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.2244, allocations: 238.9 kB / 420.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.2246, allocations: 285 kB / 420.9 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008391/0.2255, allocations: 1.586 MB / 422.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2255, allocations: 0 / 422.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2255, allocations: 0 / 422.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.438e-05/0.2255, allocations: 0 / 422.5 MB, free: 12.77 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.002471/0.228, allocations: 1.59 MB / 424.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2281, allocations: 12.03 kB / 424.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.2283, allocations: 154.2 kB / 424.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007314/0.229, allocations: 0.7133 MB / 424.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.229, allocations: 90.45 kB / 425 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.2292, allocations: 124 kB / 425.2 MB, free: 9.996 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.2313, allocations: 1.32 MB / 426.5 MB, free: 8.625 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.2313, allocations: 4 kB / 426.5 MB, free: 8.621 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.162e-05/0.2314, allocations: 52 kB / 426.5 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.2314, allocations: 31.95 kB / 426.6 MB, free: 8.539 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.2336, allocations: 1.149 MB / 427.7 MB, free: 7.383 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005983/0.2396, allocations: 5.062 MB / 432.8 MB, free: 2.094 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.2416, allocations: 1.246 MB / 434 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009174/0.2426, allocations: 0.5606 MB / 434.6 MB, free: 228 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.2426, allocations: 8.656 kB / 434.6 MB, free: 220 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.2426, allocations: 47.22 kB / 434.6 MB, free: 160 kB / 298.7 MB Notification: Performance of pre-optimization done (n=79): time 2.264e-06/0.2426, allocations: 0 / 434.6 MB, free: 160 kB / 298.7 MB Notification: Performance of matching and sorting (n=79): time 0.008955/0.2516, allocations: 3.155 MB / 437.8 MB, free: 12.87 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.2517, allocations: 85.77 kB / 437.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.2528, allocations: 0.802 MB / 438.7 MB, free: 11.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.275e-05/0.2529, allocations: 41.7 kB / 438.7 MB, free: 11.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000421/0.2533, allocations: 0.5804 MB / 439.3 MB, free: 11.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/0.2536, allocations: 288 kB / 439.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.2537, allocations: 20 kB / 439.6 MB, free: 11.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2538, allocations: 341.9 kB / 439.9 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008762/0.2547, allocations: 381.8 kB / 440.3 MB, free: 10.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.2557, allocations: 0.605 MB / 440.9 MB, free: 9.609 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009668/0.2567, allocations: 450.8 kB / 441.4 MB, free: 9.168 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2567, allocations: 0 / 441.4 MB, free: 9.168 MB / 314.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003166/0.2599, allocations: 1.416 MB / 442.8 MB, free: 7.734 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.2599, allocations: 8 kB / 442.8 MB, free: 7.727 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.2599, allocations: 4.312 kB / 442.8 MB, free: 7.723 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007641/0.2607, allocations: 230.4 kB / 443 MB, free: 7.488 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003506/0.2642, allocations: 0.9404 MB / 443.9 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/0.2769, allocations: 10.2 MB / 454.1 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.2779, allocations: 162.8 kB / 454.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-05/0.278, allocations: 36 kB / 454.3 MB, free: 11.34 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.0005365/0.2785, allocations: 281.5 kB / 454.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.2787, allocations: 98.88 kB / 454.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001557/0.2789, allocations: 108.8 kB / 454.8 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.2789, allocations: 8 kB / 454.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.2789, allocations: 0 / 454.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.2789, allocations: 7.922 kB / 454.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005038/0.284, allocations: 2.537 MB / 457.4 MB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.284, allocations: 4 kB / 457.4 MB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005303/0.2845, allocations: 123.9 kB / 457.5 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001332/0.2859, allocations: 452.8 kB / 457.9 MB, free: 7.633 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.605e-05/0.2859, allocations: 19.98 kB / 458 MB, free: 7.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01146/0.2974, allocations: 10.1 MB / 468.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.2974, allocations: 7.969 kB / 468.1 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004811/0.3022, allocations: 2.044 MB / 470.1 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002858/0.3025, allocations: 183.9 kB / 470.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.3027, allocations: 15.95 kB / 470.3 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007933/0.3035, allocations: 119.9 kB / 470.4 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.3036, allocations: 64.41 kB / 470.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.23e-05/0.3037, allocations: 24 kB / 470.5 MB, free: 10.19 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007386/0.3044, allocations: 0.542 MB / 471.1 MB, free: 9.652 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3044, allocations: 0 / 471.1 MB, free: 9.652 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001229/0.3057, allocations: 359 kB / 471.4 MB, free: 9.301 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.0001934/0.3059, allocations: 133.6 kB / 471.5 MB, free: 9.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005892/0.3118, allocations: 2.127 MB / 473.7 MB, free: 6.992 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3118, allocations: 1.062 kB / 473.7 MB, free: 6.992 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001706/0.3135, allocations: 1.186 MB / 474.8 MB, free: 5.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.3146, allocations: 199.7 kB / 475 MB, free: 5.543 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00508/0.3197, allocations: 2.812 MB / 477.9 MB, free: 2.691 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007032/0.3204, allocations: 1.081 MB / 478.9 MB, free: 1.586 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.3206, allocations: 63.44 kB / 479 MB, free: 1.523 MB / 346.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3206, allocations: 4 kB / 479 MB, free: 1.52 MB / 346.7 MB Notification: Performance of Templates: time 0.1926/0.5132, allocations: 42.9 MB / 0.5097 GB, free: 90.88 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