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.001606/0.001606, allocations: 100.3 kB / 17.59 MB, free: 5.578 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.001874/0.001874, allocations: 191.3 kB / 18.51 MB, free: 4.656 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.416/1.416, allocations: 222.9 MB / 242.2 MB, free: 15.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 52.03 kB / 301.3 MB, free: 5.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08958/0.09065, allocations: 49.44 MB / 350.7 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.00907/0.09977, allocations: 7.861 MB / 358.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003997/0.1038, allocations: 1.862 MB / 360.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.1051, allocations: 27.94 kB / 360.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009088/0.106, allocations: 241.7 kB / 360.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.1077, allocations: 444.2 kB / 361.2 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.1089, allocations: 0.4993 MB / 361.7 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002315/0.1113, allocations: 1.79 MB / 363.4 MB, free: 7.641 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.1124, allocations: 0.613 MB / 364.1 MB, free: 7.004 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.1135, allocations: 0.6344 MB / 364.7 MB, free: 6.367 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.1146, allocations: 0.7156 MB / 365.4 MB, free: 5.648 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004612/0.1151, allocations: 180 kB / 365.6 MB, free: 5.473 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004756/0.1156, allocations: 184 kB / 365.8 MB, free: 5.293 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003075/0.1159, allocations: 354.7 kB / 366.1 MB, free: 4.945 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007805/0.1167, allocations: 0.7776 MB / 366.9 MB, free: 4.164 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.1185, allocations: 2.021 MB / 368.9 MB, free: 2.137 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1185, allocations: 7.922 kB / 368.9 MB, free: 2.129 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1185, allocations: 0 / 368.9 MB, free: 2.129 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.949e-05/0.1185, allocations: 0 / 368.9 MB, free: 2.129 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.003456/0.122, allocations: 1.801 MB / 370.7 MB, free: 280 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.79e-05/0.122, allocations: 8.031 kB / 370.7 MB, free: 272 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002348/0.1223, allocations: 155.2 kB / 370.9 MB, free: 116 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1572/0.2795, allocations: 0.7332 MB / 371.6 MB, free: 25.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.998e-05/0.2797, allocations: 91.55 kB / 371.7 MB, free: 25.17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002244/0.2799, allocations: 120 kB / 371.8 MB, free: 25.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002755/0.2827, allocations: 1.311 MB / 373.1 MB, free: 24.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.2827, allocations: 0.6875 kB / 373.1 MB, free: 24.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.2828, allocations: 52.66 kB / 373.2 MB, free: 24.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/0.2828, allocations: 32.41 kB / 373.2 MB, free: 24.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002568/0.2854, allocations: 1.123 MB / 374.3 MB, free: 24.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007565/0.293, allocations: 4.976 MB / 379.3 MB, free: 21.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/0.2954, allocations: 1.216 MB / 380.5 MB, free: 20.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/0.2966, allocations: 0.5262 MB / 381.1 MB, free: 20.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.781e-05/0.2966, allocations: 9.438 kB / 381.1 MB, free: 20.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.2967, allocations: 49.52 kB / 381.1 MB, free: 20.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 3.025e-06/0.2967, allocations: 0 / 381.1 MB, free: 20.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.009143/0.3058, allocations: 2.926 MB / 384 MB, free: 19.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.3059, allocations: 90.14 kB / 384.1 MB, free: 19.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.3072, allocations: 0.8105 MB / 384.9 MB, free: 18.74 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.34e-05/0.3073, allocations: 46.61 kB / 385 MB, free: 18.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/0.3076, allocations: 0.5861 MB / 385.6 MB, free: 18.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.3078, allocations: 277.5 kB / 385.8 MB, free: 18.01 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.3081, allocations: 168.6 kB / 386 MB, free: 17.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.371e-05/0.3082, allocations: 342.8 kB / 386.3 MB, free: 17.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008671/0.309, allocations: 370.4 kB / 386.7 MB, free: 17.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009658/0.31, allocations: 0.5807 MB / 387.3 MB, free: 16.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.3118, allocations: 0.9533 MB / 388.2 MB, free: 16.35 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.3118, allocations: 2.688 kB / 388.2 MB, free: 16.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003226/0.3151, allocations: 1.356 MB / 389.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.3151, allocations: 7.906 kB / 389.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.3151, allocations: 7.938 kB / 389.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007489/0.3159, allocations: 225 kB / 389.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003564/0.3194, allocations: 0.8349 MB / 390.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/0.3308, allocations: 10.86 MB / 401.5 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.332, allocations: 138.1 kB / 401.7 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.65e-05/0.3321, allocations: 39.62 kB / 401.7 MB, free: 5.219 MB / 302.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 (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.0005315/0.3326, allocations: 284.7 kB / 402 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.3328, allocations: 101.9 kB / 402.1 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.333, allocations: 108.5 kB / 402.2 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.333, allocations: 7.938 kB / 402.2 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/0.333, allocations: 3.984 kB / 402.2 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.333, allocations: 0 / 402.2 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004483/0.3375, allocations: 2.451 MB / 404.6 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.3375, allocations: 8.062 kB / 404.6 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004921/0.338, allocations: 123.8 kB / 404.8 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001183/0.3392, allocations: 416.9 kB / 405.2 MB, free: 1.793 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.976e-05/0.3393, allocations: 23.98 kB / 405.2 MB, free: 1.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01369/0.353, allocations: 10.89 MB / 416.1 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.353, allocations: 4.031 kB / 416.1 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005335/0.3584, allocations: 1.942 MB / 418 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004873/0.3589, allocations: 188 kB / 418.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/0.3591, allocations: 16 kB / 418.2 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009374/0.36, allocations: 115.9 kB / 418.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.3602, allocations: 56.47 kB / 418.4 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.059e-05/0.3603, allocations: 23.98 kB / 418.4 MB, free: 3.652 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000742/0.361, allocations: 0.5504 MB / 419 MB, free: 3.105 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3611, allocations: 0 / 419 MB, free: 3.105 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001437/0.3625, allocations: 363 kB / 419.3 MB, free: 2.75 MB / 318.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 (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.000225/0.3627, allocations: 131.2 kB / 419.5 MB, free: 2.609 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006465/0.3692, allocations: 2.014 MB / 421.5 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/0.3693, allocations: 11.62 kB / 421.5 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001844/0.3711, allocations: 1.163 MB / 422.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.3727, allocations: 200.7 kB / 422.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005498/0.3783, allocations: 2.358 MB / 425.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008307/0.3791, allocations: 1.074 MB / 426.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/0.3794, allocations: 63.44 kB / 426.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3794, allocations: 0 / 426.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of Templates: time 0.04303/0.4224, allocations: 43.06 MB / 469.4 MB, free: 0.5234 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches