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.001278/0.001278, allocations: 112 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001223/0.001223, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 63.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2436, allocations: 50.54 MB / 410 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009075/0.2527, allocations: 7.888 MB / 417.9 MB, free: 9.672 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004227/0.2569, allocations: 1.901 MB / 419.8 MB, free: 7.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.2581, allocations: 23.94 kB / 419.8 MB, free: 7.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008004/0.2589, allocations: 237.7 kB / 420 MB, free: 7.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001804/0.2607, allocations: 440.2 kB / 420.4 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.2619, allocations: 0.4994 MB / 420.9 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00229/0.2642, allocations: 1.794 MB / 422.7 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009876/0.2653, allocations: 0.6052 MB / 423.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008909/0.2662, allocations: 0.65 MB / 424 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.2672, allocations: 0.7155 MB / 424.7 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003686/0.2676, allocations: 176 kB / 424.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003775/0.2679, allocations: 180 kB / 425.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003265/0.2683, allocations: 350.8 kB / 425.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009662/0.2692, allocations: 0.7736 MB / 426.2 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.271, allocations: 2.053 MB / 428.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.271, allocations: 0 / 428.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.631e-06/0.271, allocations: 4 kB / 428.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.097e-05/0.271, allocations: 3.938 kB / 428.2 MB, free: 15.24 MB / 350.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.003311/0.2744, allocations: 1.778 MB / 430 MB, free: 13.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2744, allocations: 8.031 kB / 430 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002314/0.2746, allocations: 163 kB / 430.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.2758, allocations: 0.7607 MB / 430.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.721e-05/0.2759, allocations: 94.39 kB / 431 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.276, allocations: 124 kB / 431.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002389/0.2784, allocations: 1.309 MB / 432.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.2785, allocations: 0 / 432.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.2786, allocations: 52 kB / 432.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.2786, allocations: 32 kB / 432.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/0.2811, allocations: 1.125 MB / 433.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007419/0.2885, allocations: 4.945 MB / 438.6 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00244/0.2909, allocations: 1.219 MB / 439.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.2921, allocations: 0.5215 MB / 440.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.604e-05/0.2921, allocations: 12.8 kB / 440.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.2922, allocations: 51.2 kB / 440.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 3.115e-06/0.2922, allocations: 0 / 440.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.008379/0.3006, allocations: 2.928 MB / 443.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.3006, allocations: 85.77 kB / 443.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.3018, allocations: 0.8059 MB / 444.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.171e-05/0.3018, allocations: 41.7 kB / 444.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000383/0.3022, allocations: 0.5881 MB / 444.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.3025, allocations: 291.8 kB / 445.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.3027, allocations: 170.5 kB / 445.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3029, allocations: 341.9 kB / 445.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008876/0.3038, allocations: 369.8 kB / 446 MB, free: 12.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.3049, allocations: 0.5816 MB / 446.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/0.3068, allocations: 0.9519 MB / 447.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.3068, allocations: 4 kB / 447.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003073/0.3099, allocations: 1.35 MB / 448.9 MB, free: 9.734 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.3099, allocations: 10.81 kB / 448.9 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.3099, allocations: 8 kB / 448.9 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007713/0.3107, allocations: 222.8 kB / 449.1 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003378/0.3141, allocations: 0.8348 MB / 450 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/0.3274, allocations: 10.85 MB / 460.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.3286, allocations: 146.9 kB / 461 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.888e-05/0.3287, allocations: 36 kB / 461 MB, free: 12.8 MB / 382.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.0006133/0.3293, allocations: 281.5 kB / 461.3 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.3295, allocations: 94.88 kB / 461.4 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.3297, allocations: 108.9 kB / 461.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.3297, allocations: 11.92 kB / 461.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3297, allocations: 0 / 461.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.3299, allocations: 187.7 kB / 461.7 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.727e-05/0.33, allocations: 12 kB / 461.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007615/0.3308, allocations: 99.92 kB / 461.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.331, allocations: 72.55 kB / 461.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004479/0.3354, allocations: 1.617 MB / 463.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00267/0.3381, allocations: 1.482 MB / 464.9 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000763/0.3389, allocations: 349.3 kB / 465.3 MB, free: 8.418 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006864/0.3396, allocations: 0.5576 MB / 465.8 MB, free: 7.863 MB / 382.1 MB Notification: Performance of Backend: time 5.21e-07/0.3396, allocations: 0 / 465.8 MB, free: 7.863 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005408/0.345, allocations: 1.777 MB / 467.6 MB, free: 6.043 MB / 382.1 MB Notification: Performance of SimCode: time 0.003511/0.3485, allocations: 2.617 MB / 470.2 MB, free: 3.391 MB / 382.1 MB Notification: Performance of Templates: time 0.02451/0.3731, allocations: 14.43 MB / 484.7 MB, free: 5.086 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.0.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