Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000936/0.000936, allocations: 179.7 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.7 MB / 243.2 MB, free: 8.535 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007175/0.0007175, allocations: 100.6 kB / 294.4 MB, free: 9.527 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002449/0.000245, allocations: 15.94 kB / 354.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2305, allocations: 50.4 MB / 404.6 MB, free: 31.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.005555/0.2362, allocations: 6.893 MB / 411.5 MB, free: 24.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003179/0.2394, allocations: 1.821 MB / 413.3 MB, free: 22.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007095/0.2401, allocations: 23.94 kB / 413.3 MB, free: 22.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.2405, allocations: 174.6 kB / 413.5 MB, free: 22.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006771/0.2411, allocations: 385.1 kB / 413.9 MB, free: 22.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006777/0.2418, allocations: 451.5 kB / 414.3 MB, free: 21.6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.2429, allocations: 1.685 MB / 416 MB, free: 19.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006017/0.2435, allocations: 0.5214 MB / 416.5 MB, free: 19.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003683/0.2439, allocations: 0.5172 MB / 417 MB, free: 18.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004153/0.2443, allocations: 0.6062 MB / 417.6 MB, free: 18.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.2444, allocations: 80 kB / 417.7 MB, free: 18.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.2446, allocations: 76 kB / 417.8 MB, free: 18.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.2447, allocations: 242.8 kB / 418 MB, free: 17.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000386/0.2451, allocations: 0.6816 MB / 418.7 MB, free: 17.15 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009783/0.2461, allocations: 1.904 MB / 420.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2461, allocations: 0 / 420.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2461, allocations: 0 / 420.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.2461, allocations: 0 / 420.6 MB, free: 15.24 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.002289/0.2484, allocations: 1.583 MB / 422.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.2485, allocations: 8.031 kB / 422.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.2487, allocations: 163.2 kB / 422.4 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007106/0.2494, allocations: 0.7334 MB / 423.1 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.015e-05/0.2494, allocations: 94.39 kB / 423.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.2496, allocations: 124 kB / 423.3 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.2516, allocations: 1.316 MB / 424.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.2516, allocations: 3.938 kB / 424.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.718e-05/0.2517, allocations: 52 kB / 424.7 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.2517, allocations: 32 kB / 424.7 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/0.2538, allocations: 1.145 MB / 425.9 MB, free: 9.836 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005761/0.2596, allocations: 5.07 MB / 430.9 MB, free: 4.543 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/0.2615, allocations: 1.246 MB / 432.2 MB, free: 3.242 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008993/0.2624, allocations: 0.5451 MB / 432.7 MB, free: 2.691 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/0.2625, allocations: 20.58 kB / 432.7 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.2625, allocations: 47.22 kB / 432.8 MB, free: 2.613 MB / 298.7 MB Notification: Performance of pre-optimization done (n=79): time 2.675e-06/0.2625, allocations: 0 / 432.8 MB, free: 2.613 MB / 298.7 MB Notification: Performance of matching and sorting (n=79): time 0.007308/0.2698, allocations: 3.158 MB / 435.9 MB, free: 15.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.2699, allocations: 85.77 kB / 436 MB, free: 15.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009218/0.2708, allocations: 0.798 MB / 436.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.012e-05/0.2709, allocations: 41.7 kB / 436.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003746/0.2713, allocations: 0.5843 MB / 437.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.2715, allocations: 287.9 kB / 437.7 MB, free: 13.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.2715, allocations: 20 kB / 437.7 MB, free: 13.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.2716, allocations: 349.9 kB / 438.1 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008257/0.2725, allocations: 381.8 kB / 438.5 MB, free: 12.74 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009433/0.2734, allocations: 0.5934 MB / 439.1 MB, free: 12.06 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/0.2752, allocations: 0.9949 MB / 440 MB, free: 10.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.2752, allocations: 4 kB / 440.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002864/0.2781, allocations: 1.408 MB / 441.5 MB, free: 9.547 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2781, allocations: 8 kB / 441.5 MB, free: 9.539 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.2781, allocations: 7.938 kB / 441.5 MB, free: 9.531 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007203/0.2788, allocations: 242.7 kB / 441.7 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003298/0.2821, allocations: 0.9326 MB / 442.6 MB, free: 8.352 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.2935, allocations: 10.21 MB / 452.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.2946, allocations: 154.9 kB / 453 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.2948, allocations: 39.98 kB / 453 MB, free: 13.15 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.0007627/0.2956, allocations: 277.5 kB / 453.3 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003258/0.2959, allocations: 98.88 kB / 453.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.2962, allocations: 104.9 kB / 453.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.2962, allocations: 8 kB / 453.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.2962, allocations: 0 / 453.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.2962, allocations: 3.984 kB / 453.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005503/0.3017, allocations: 2.537 MB / 456.1 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.3018, allocations: 7.938 kB / 456.1 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005445/0.3023, allocations: 123.9 kB / 456.2 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001355/0.3037, allocations: 452.8 kB / 456.6 MB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-05/0.3038, allocations: 12 kB / 456.6 MB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01146/0.3152, allocations: 10.11 MB / 466.8 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.3153, allocations: 4.031 kB / 466.8 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004758/0.32, allocations: 2.04 MB / 468.8 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003722/0.3204, allocations: 187.7 kB / 469 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002188/0.3207, allocations: 27.92 kB / 469 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008271/0.3215, allocations: 119.9 kB / 469.1 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.3217, allocations: 60.47 kB / 469.2 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.034e-05/0.3217, allocations: 20 kB / 469.2 MB, free: 12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007903/0.3225, allocations: 0.5497 MB / 469.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3226, allocations: 0 / 469.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001375/0.3239, allocations: 355 kB / 470.1 MB, free: 11.11 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 (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.000211/0.3242, allocations: 144.4 kB / 470.2 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005786/0.3299, allocations: 2.135 MB / 472.4 MB, free: 8.789 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.33, allocations: 0 / 472.4 MB, free: 8.789 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001751/0.3317, allocations: 1.184 MB / 473.6 MB, free: 7.527 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.333, allocations: 197.3 kB / 473.8 MB, free: 7.332 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004838/0.3379, allocations: 2.916 MB / 476.7 MB, free: 4.379 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006658/0.3385, allocations: 1.074 MB / 477.8 MB, free: 3.281 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004335/0.339, allocations: 107.6 kB / 477.9 MB, free: 3.172 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.3391, allocations: 63.38 kB / 477.9 MB, free: 3.109 MB / 346.7 MB Notification: Performance of SimCode: time 7.92e-07/0.3391, allocations: 0 / 477.9 MB, free: 3.109 MB / 346.7 MB Notification: Performance of Templates: time 0.02543/0.3646, allocations: 13.33 MB / 491.3 MB, free: 5.824 MB / 362.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches