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/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_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/Complex trunk/package.mo): time 0.001232/0.001231, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001017/0.001017, allocations: 110.6 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008982/0.0008983, allocations: 43.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2175, allocations: 50.44 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.00621/0.2238, allocations: 7.855 MB / 414.9 MB, free: 19.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003809/0.2276, allocations: 1.888 MB / 416.8 MB, free: 18.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006364/0.2283, allocations: 23.94 kB / 416.8 MB, free: 18.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003747/0.2287, allocations: 174.6 kB / 417 MB, free: 17.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006582/0.2294, allocations: 381.1 kB / 417.4 MB, free: 17.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006271/0.23, allocations: 451.6 kB / 417.8 MB, free: 17.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001113/0.2311, allocations: 1.7 MB / 419.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005574/0.2317, allocations: 0.537 MB / 420.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004099/0.2321, allocations: 0.5525 MB / 420.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004327/0.2326, allocations: 0.6647 MB / 421.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.2327, allocations: 96 kB / 421.4 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.2329, allocations: 100 kB / 421.5 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.233, allocations: 270.8 kB / 421.7 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004463/0.2335, allocations: 0.6995 MB / 422.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.2345, allocations: 1.952 MB / 424.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2345, allocations: 4 kB / 424.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2345, allocations: 0 / 424.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.714e-05/0.2346, allocations: 3.938 kB / 424.4 MB, free: 10.42 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.002727/0.2373, allocations: 1.797 MB / 426.2 MB, free: 8.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2373, allocations: 12.03 kB / 426.2 MB, free: 8.559 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.2375, allocations: 155.2 kB / 426.3 MB, free: 8.406 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007586/0.2383, allocations: 0.7296 MB / 427.1 MB, free: 7.633 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.487e-05/0.2383, allocations: 90.39 kB / 427.2 MB, free: 7.543 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.2385, allocations: 120 kB / 427.3 MB, free: 7.426 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.2404, allocations: 1.309 MB / 428.6 MB, free: 6.066 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.2404, allocations: 4 kB / 428.6 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.698e-05/0.2405, allocations: 52 kB / 428.6 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.2405, allocations: 28 kB / 428.7 MB, free: 5.984 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/0.2427, allocations: 1.125 MB / 429.8 MB, free: 4.852 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0063/0.249, allocations: 4.984 MB / 434.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/0.2514, allocations: 1.211 MB / 436 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/0.2525, allocations: 0.5271 MB / 436.5 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.128e-05/0.2526, allocations: 12.64 kB / 436.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.2526, allocations: 43.22 kB / 436.6 MB, free: 13.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=79): time 2.665e-06/0.2526, allocations: 0 / 436.6 MB, free: 13.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=79): time 0.008577/0.2612, allocations: 2.932 MB / 439.5 MB, free: 10.72 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.2613, allocations: 89.77 kB / 439.6 MB, free: 10.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.2625, allocations: 0.8135 MB / 440.4 MB, free: 9.789 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.708e-05/0.2626, allocations: 45.7 kB / 440.4 MB, free: 9.738 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004008/0.263, allocations: 0.5843 MB / 441 MB, free: 9.145 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/0.2633, allocations: 279.9 kB / 441.3 MB, free: 8.867 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/0.2635, allocations: 178.4 kB / 441.5 MB, free: 8.688 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2637, allocations: 349.9 kB / 441.8 MB, free: 8.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008846/0.2646, allocations: 365.8 kB / 442.2 MB, free: 7.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.2656, allocations: 0.5895 MB / 442.8 MB, free: 7.305 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/0.2675, allocations: 0.9469 MB / 443.7 MB, free: 6.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.2675, allocations: 3.938 kB / 443.7 MB, free: 6.266 MB / 314.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003113/0.2706, allocations: 1.358 MB / 445.1 MB, free: 4.891 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.2707, allocations: 8 kB / 445.1 MB, free: 4.883 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.2707, allocations: 4 kB / 445.1 MB, free: 4.879 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008254/0.2715, allocations: 226.7 kB / 445.3 MB, free: 4.648 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003589/0.2751, allocations: 0.831 MB / 446.1 MB, free: 3.816 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/0.288, allocations: 10.01 MB / 456.2 MB, free: 9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.2895, allocations: 138.9 kB / 456.3 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/0.2897, allocations: 36 kB / 456.3 MB, free: 8.828 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 (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.0007793/0.2905, allocations: 282.1 kB / 456.6 MB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002905/0.2908, allocations: 106.8 kB / 456.7 MB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.2911, allocations: 104.9 kB / 456.8 MB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.2911, allocations: 8 kB / 456.8 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.2911, allocations: 0 / 456.8 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.2911, allocations: 3.984 kB / 456.8 MB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005423/0.2966, allocations: 2.455 MB / 459.3 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/0.2966, allocations: 3.984 kB / 459.3 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005295/0.2971, allocations: 127.9 kB / 459.4 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/0.2985, allocations: 424.8 kB / 459.8 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.686e-05/0.2986, allocations: 16 kB / 459.8 MB, free: 5.199 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01174/0.3103, allocations: 9.961 MB / 469.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.3104, allocations: 3.984 kB / 469.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03228/0.3427, allocations: 18.11 MB / 487.9 MB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000315/0.343, allocations: 183.8 kB / 488.1 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/0.3433, allocations: 16.31 kB / 488.1 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008923/0.3442, allocations: 103.9 kB / 488.2 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/0.3444, allocations: 60.47 kB / 488.3 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.941e-05/0.3445, allocations: 28 kB / 488.3 MB, free: 6.895 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008278/0.3453, allocations: 0.5498 MB / 488.8 MB, free: 6.348 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3453, allocations: 0 / 488.8 MB, free: 6.348 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002066/0.3474, allocations: 490.9 kB / 489.3 MB, free: 5.867 MB / 362.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 (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.0002728/0.3477, allocations: 123.1 kB / 489.4 MB, free: 5.738 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006257/0.354, allocations: 1.992 MB / 491.4 MB, free: 3.703 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.354, allocations: 4 kB / 491.4 MB, free: 3.699 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001914/0.3559, allocations: 1.151 MB / 492.6 MB, free: 2.469 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.3577, allocations: 206 kB / 492.8 MB, free: 2.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006843/0.3645, allocations: 4.035 MB / 496.8 MB, free: 14.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008664/0.3654, allocations: 1.112 MB / 497.9 MB, free: 12.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006201/0.3661, allocations: 107.5 kB / 498 MB, free: 12.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.3663, allocations: 63.42 kB / 498.1 MB, free: 12.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.143e-06/0.3663, allocations: 0 / 498.1 MB, free: 12.8 MB / 378.7 MB Notification: Performance of Templates: time 0.2125/0.5788, allocations: 16.77 MB / 0.5028 GB, free: 89.03 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches