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) 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) 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=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_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_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001734/0.001734, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00192/0.00192, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 247.5 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 67.89 kB / 307.7 MB, free: 0.6172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.095/0.0968, allocations: 50.54 MB / 358.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.01007/0.1069, allocations: 7.878 MB / 366.1 MB, free: 6.156 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004051/0.111, allocations: 1.901 MB / 368 MB, free: 4.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008235/0.1119, allocations: 27.94 kB / 368 MB, free: 4.223 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005759/0.1125, allocations: 237.7 kB / 368.2 MB, free: 3.988 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.1136, allocations: 440.2 kB / 368.7 MB, free: 3.555 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009738/0.1146, allocations: 0.4994 MB / 369.2 MB, free: 3.055 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002049/0.1166, allocations: 1.794 MB / 371 MB, free: 1.254 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009174/0.1176, allocations: 0.6169 MB / 371.6 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1489/0.2664, allocations: 0.6332 MB / 372.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.2675, allocations: 0.7166 MB / 372.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000424/0.2679, allocations: 178.5 kB / 373.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003283/0.2682, allocations: 179.2 kB / 373.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002667/0.2685, allocations: 353.6 kB / 373.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006906/0.2692, allocations: 0.7758 MB / 374.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002103/0.2713, allocations: 2.031 MB / 376.4 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2713, allocations: 6.094 kB / 376.4 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2714, allocations: 0 / 376.4 MB, free: 9.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.782e-05/0.2714, allocations: 0 / 376.4 MB, free: 9.75 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.003284/0.2747, allocations: 1.781 MB / 378.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.2747, allocations: 10.11 kB / 378.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000241/0.275, allocations: 157.8 kB / 378.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000919/0.2759, allocations: 0.7346 MB / 379.1 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.97e-05/0.276, allocations: 92.61 kB / 379.2 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.2761, allocations: 118.6 kB / 379.3 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/0.2784, allocations: 1.318 MB / 380.6 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.2784, allocations: 1.375 kB / 380.6 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.2786, allocations: 49.28 kB / 380.7 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.2786, allocations: 30.14 kB / 380.7 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/0.2809, allocations: 1.12 MB / 381.8 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006821/0.2877, allocations: 4.992 MB / 386.8 MB, free: 5.031 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/0.2899, allocations: 1.211 MB / 388 MB, free: 4.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.291, allocations: 0.5211 MB / 388.6 MB, free: 4.254 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.276e-05/0.291, allocations: 9.562 kB / 388.6 MB, free: 4.254 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.291, allocations: 47.27 kB / 388.6 MB, free: 4.207 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 2.394e-06/0.2911, allocations: 0 / 388.6 MB, free: 4.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.008209/0.2993, allocations: 2.931 MB / 391.6 MB, free: 2.816 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.2993, allocations: 89.45 kB / 391.6 MB, free: 2.719 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.3004, allocations: 0.8065 MB / 392.4 MB, free: 2.258 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.339e-05/0.3005, allocations: 41.83 kB / 392.5 MB, free: 2.215 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/0.3007, allocations: 0.592 MB / 393.1 MB, free: 1.688 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.3009, allocations: 277.1 kB / 393.3 MB, free: 1.453 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.3011, allocations: 172.5 kB / 393.5 MB, free: 1.344 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.401e-05/0.3012, allocations: 346.2 kB / 393.9 MB, free: 1.012 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008344/0.302, allocations: 366.6 kB / 394.2 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009089/0.3029, allocations: 0.5822 MB / 394.8 MB, free: 416 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/0.3047, allocations: 0.948 MB / 395.7 MB, free: 15.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.3047, allocations: 2.375 kB / 395.7 MB, free: 15.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003245/0.308, allocations: 1.366 MB / 397.1 MB, free: 15.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.308, allocations: 6.844 kB / 397.1 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.308, allocations: 13.41 kB / 397.1 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007495/0.3088, allocations: 223 kB / 397.3 MB, free: 15.1 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003488/0.3123, allocations: 0.8335 MB / 398.2 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/0.3263, allocations: 10.85 MB / 409 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.3275, allocations: 142.9 kB / 409.2 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-05/0.3275, allocations: 43.98 kB / 409.2 MB, free: 4.375 MB / 318.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.0005326/0.3281, allocations: 267.3 kB / 409.5 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.3283, allocations: 99.06 kB / 409.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.3285, allocations: 104.9 kB / 409.7 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.3285, allocations: 11.98 kB / 409.7 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.3285, allocations: 7.938 kB / 409.7 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.3285, allocations: 3.984 kB / 409.7 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005335/0.3339, allocations: 2.457 MB / 412.2 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3339, allocations: 3.938 kB / 412.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005305/0.3344, allocations: 122.5 kB / 412.3 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001351/0.3358, allocations: 424.2 kB / 412.7 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.647e-05/0.3358, allocations: 16 kB / 412.7 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0137/0.3496, allocations: 10.9 MB / 423.6 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3496, allocations: 0 / 423.6 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004989/0.3546, allocations: 1.935 MB / 425.5 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004/0.355, allocations: 199.8 kB / 425.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.3551, allocations: 12 kB / 425.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008108/0.356, allocations: 100.2 kB / 425.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.3561, allocations: 68.16 kB / 425.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-05/0.3562, allocations: 28 kB / 425.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007846/0.357, allocations: 0.5537 MB / 426.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.357, allocations: 0 / 426.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001364/0.3584, allocations: 359 kB / 426.8 MB, free: 1.852 MB / 334.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.0002154/0.3586, allocations: 126.8 kB / 427 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.006261/0.3648, allocations: 2.018 MB / 429 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3649, allocations: 192 / 429 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001809/0.3667, allocations: 1.159 MB / 430.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.368, allocations: 208 kB / 430.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005117/0.3731, allocations: 2.36 MB / 432.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008655/0.374, allocations: 1.078 MB / 433.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.3743, allocations: 63.44 kB / 433.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3743, allocations: 0 / 433.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of Templates: time 0.04694/0.4212, allocations: 43.03 MB / 476.9 MB, free: 15.71 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches