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.001356/0.001356, allocations: 106.5 kB / 16.92 MB, free: 5.781 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.001303/0.001303, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.504/1.504, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 51.42 kB / 300.6 MB, free: 5.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1241, allocations: 49.44 MB / 350.1 MB, free: 4.367 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.01149/0.1357, allocations: 7.869 MB / 357.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005768/0.1415, allocations: 1.855 MB / 359.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/0.1435, allocations: 31.81 kB / 359.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.1448, allocations: 237.7 kB / 360.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002309/0.1472, allocations: 436.3 kB / 360.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.1489, allocations: 0.4916 MB / 361 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003301/0.1523, allocations: 1.806 MB / 362.8 MB, free: 7.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.1538, allocations: 0.6091 MB / 363.4 MB, free: 6.957 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.1552, allocations: 0.6344 MB / 364 MB, free: 6.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.1566, allocations: 0.7195 MB / 364.7 MB, free: 5.598 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006232/0.1573, allocations: 176 kB / 364.9 MB, free: 5.426 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007617/0.158, allocations: 180 kB / 365.1 MB, free: 5.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005897/0.1586, allocations: 354.8 kB / 365.4 MB, free: 4.902 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00145/0.1601, allocations: 0.7775 MB / 366.2 MB, free: 4.121 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002231/0.1624, allocations: 2.021 MB / 368.2 MB, free: 2.094 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1624, allocations: 3.938 kB / 368.2 MB, free: 2.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1624, allocations: 4 kB / 368.2 MB, free: 2.086 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.691e-05/0.1625, allocations: 0 / 368.2 MB, free: 2.086 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.003926/0.1664, allocations: 1.797 MB / 370 MB, free: 240 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.1665, allocations: 12.03 kB / 370.1 MB, free: 228 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003/0.1668, allocations: 155.2 kB / 370.2 MB, free: 72 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2831/0.4498, allocations: 0.7282 MB / 370.9 MB, free: 24.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.45, allocations: 92.33 kB / 371 MB, free: 24.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002979/0.4503, allocations: 121 kB / 371.1 MB, free: 24.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003633/0.454, allocations: 1.312 MB / 372.5 MB, free: 24.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.454, allocations: 0.5938 kB / 372.5 MB, free: 24.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.4541, allocations: 53.31 kB / 372.5 MB, free: 24.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.312e-05/0.4542, allocations: 30.91 kB / 372.5 MB, free: 24.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002915/0.4571, allocations: 1.126 MB / 373.7 MB, free: 23.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01062/0.4678, allocations: 4.973 MB / 378.6 MB, free: 20.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00334/0.4712, allocations: 1.213 MB / 379.8 MB, free: 20.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/0.4727, allocations: 0.5272 MB / 380.4 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.987e-05/0.4728, allocations: 11.94 kB / 380.4 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.201e-05/0.4729, allocations: 49.11 kB / 380.4 MB, free: 20.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 4.99e-06/0.4729, allocations: 4 kB / 380.4 MB, free: 20.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.01101/0.4839, allocations: 2.921 MB / 383.4 MB, free: 18.92 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/0.484, allocations: 94.06 kB / 383.4 MB, free: 18.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/0.4859, allocations: 0.814 MB / 384.3 MB, free: 18.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002365/0.4862, allocations: 45.5 kB / 384.3 MB, free: 18.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004718/0.4867, allocations: 0.5842 MB / 384.9 MB, free: 17.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003133/0.487, allocations: 275.7 kB / 385.2 MB, free: 17.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000327/0.4873, allocations: 168.3 kB / 385.3 MB, free: 17.65 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.4875, allocations: 343.2 kB / 385.7 MB, free: 17.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.4885, allocations: 370.5 kB / 386 MB, free: 17.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.4897, allocations: 0.58 MB / 386.6 MB, free: 16.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002183/0.4919, allocations: 0.9501 MB / 387.6 MB, free: 16.1 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.4919, allocations: 1.469 kB / 387.6 MB, free: 16.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003622/0.4955, allocations: 1.362 MB / 388.9 MB, free: 15.44 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.4956, allocations: 13.7 kB / 388.9 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.4956, allocations: 8.984 kB / 388.9 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000834/0.4965, allocations: 224.1 kB / 389.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003709/0.5002, allocations: 0.8344 MB / 390 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/0.5123, allocations: 10.86 MB / 400.8 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.5137, allocations: 146.2 kB / 401 MB, free: 4.961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.423e-05/0.5138, allocations: 39.5 kB / 401 MB, free: 4.953 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.0005317/0.5143, allocations: 272.7 kB / 401.3 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/0.5146, allocations: 98.16 kB / 401.4 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.5147, allocations: 104.6 kB / 401.5 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.5147, allocations: 13.34 kB / 401.5 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/0.5148, allocations: 3.938 kB / 401.5 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/0.5148, allocations: 3.984 kB / 401.5 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004596/0.5194, allocations: 2.46 MB / 404 MB, free: 2.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.5194, allocations: 0 / 404 MB, free: 2.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005078/0.5199, allocations: 121.7 kB / 404.1 MB, free: 2.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00127/0.5212, allocations: 428.8 kB / 404.5 MB, free: 1.633 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-05/0.5213, allocations: 16 kB / 404.5 MB, free: 1.617 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01319/0.5345, allocations: 10.89 MB / 415.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5346, allocations: 0 / 415.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005069/0.5396, allocations: 1.946 MB / 417.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004393/0.5401, allocations: 191.7 kB / 417.6 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.5402, allocations: 16 kB / 417.6 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008316/0.5411, allocations: 103.8 kB / 417.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/0.5413, allocations: 60.48 kB / 417.7 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.098e-05/0.5414, allocations: 27.92 kB / 417.8 MB, free: 3.496 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008514/0.5422, allocations: 0.5537 MB / 418.3 MB, free: 2.945 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5422, allocations: 0 / 418.3 MB, free: 2.945 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001617/0.5439, allocations: 355 kB / 418.7 MB, free: 2.598 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.0002981/0.5442, allocations: 123.2 kB / 418.8 MB, free: 2.465 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006681/0.5509, allocations: 2.019 MB / 420.8 MB, free: 436 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.5509, allocations: 4.25 kB / 420.8 MB, free: 432 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002049/0.553, allocations: 1.158 MB / 422 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.5548, allocations: 215.7 kB / 422.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005663/0.5605, allocations: 2.321 MB / 424.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007778/0.5614, allocations: 1.074 MB / 425.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0007049/0.5621, allocations: 99.5 kB / 425.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.5623, allocations: 59.44 kB / 425.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of SimCode: time 1.503e-06/0.5623, allocations: 0 / 425.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of Templates: time 0.03574/0.598, allocations: 14.38 MB / 440.1 MB, free: 13.14 MB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins/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