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.001414/0.001414, allocations: 111.1 kB / 17.28 MB, free: 6.199 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.001598/0.001598, allocations: 193.3 kB / 18.21 MB, free: 5.273 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.368/1.368, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 51.17 kB / 300.8 MB, free: 6.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1328, allocations: 49.44 MB / 350.2 MB, free: 4.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.01208/0.1449, allocations: 7.833 MB / 358.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005036/0.15, allocations: 1.847 MB / 359.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.1516, allocations: 27.88 kB / 360 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.1528, allocations: 178.6 kB / 360.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.1551, allocations: 385 kB / 360.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.1567, allocations: 447.6 kB / 360.9 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003172/0.1599, allocations: 1.794 MB / 362.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.1613, allocations: 0.613 MB / 363.3 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.1627, allocations: 0.6422 MB / 364 MB, free: 6.914 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.1641, allocations: 0.7155 MB / 364.7 MB, free: 6.195 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006382/0.1648, allocations: 179.9 kB / 364.9 MB, free: 6.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006087/0.1654, allocations: 180 kB / 365.1 MB, free: 5.844 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005168/0.1659, allocations: 354.8 kB / 365.4 MB, free: 5.496 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001415/0.1674, allocations: 0.7775 MB / 366.2 MB, free: 4.715 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002127/0.1695, allocations: 1.645 MB / 367.8 MB, free: 3.066 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1695, allocations: 4 kB / 367.8 MB, free: 3.062 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1695, allocations: 4 kB / 367.8 MB, free: 3.059 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.518e-05/0.1696, allocations: 0 / 367.8 MB, free: 3.059 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.005399/0.175, allocations: 1.785 MB / 369.6 MB, free: 1.219 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.1751, allocations: 8.031 kB / 369.6 MB, free: 1.211 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004659/0.1756, allocations: 159.2 kB / 369.8 MB, free: 1.055 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.1772, allocations: 0.7373 MB / 370.5 MB, free: 280 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.1773, allocations: 94.39 kB / 370.6 MB, free: 184 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002675/0.1776, allocations: 120 kB / 370.7 MB, free: 64 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2185/0.3961, allocations: 1.301 MB / 372 MB, free: 25.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.73e-05/0.3962, allocations: 1.703 kB / 372 MB, free: 25.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.3964, allocations: 53.16 kB / 372.1 MB, free: 25.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/0.3964, allocations: 31.38 kB / 372.1 MB, free: 25.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003571/0.4, allocations: 1.128 MB / 373.2 MB, free: 24.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01055/0.4106, allocations: 4.98 MB / 378.2 MB, free: 21.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003235/0.4138, allocations: 1.209 MB / 379.4 MB, free: 21.19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.4154, allocations: 0.5241 MB / 380 MB, free: 21.01 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.179e-05/0.4155, allocations: 12.89 kB / 380 MB, free: 21.01 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.4155, allocations: 45.98 kB / 380 MB, free: 20.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 4.899e-06/0.4155, allocations: 3.938 kB / 380 MB, free: 20.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.01193/0.4275, allocations: 2.93 MB / 382.9 MB, free: 19.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.4276, allocations: 85.55 kB / 383 MB, free: 19.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.4294, allocations: 0.8176 MB / 383.8 MB, free: 19.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001507/0.4295, allocations: 42.05 kB / 383.9 MB, free: 19.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004811/0.43, allocations: 0.5874 MB / 384.5 MB, free: 18.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002972/0.4303, allocations: 280.9 kB / 384.8 MB, free: 18.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004144/0.4308, allocations: 168.7 kB / 384.9 MB, free: 18.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.4309, allocations: 340.9 kB / 385.2 MB, free: 18.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.4321, allocations: 368 kB / 385.6 MB, free: 18.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/0.4335, allocations: 0.5813 MB / 386.2 MB, free: 17.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002405/0.4359, allocations: 0.9571 MB / 387.1 MB, free: 17.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.4359, allocations: 6.031 kB / 387.2 MB, free: 17.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004405/0.4404, allocations: 1.348 MB / 388.5 MB, free: 16.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.4404, allocations: 15.52 kB / 388.5 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/0.4404, allocations: 7.875 kB / 388.5 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009962/0.4415, allocations: 225 kB / 388.7 MB, free: 16.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004499/0.446, allocations: 0.8343 MB / 389.6 MB, free: 16.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0146/0.4606, allocations: 10.85 MB / 400.4 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.462, allocations: 141 kB / 400.6 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.652e-05/0.4621, allocations: 39.19 kB / 400.6 MB, free: 5.945 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.0006365/0.4628, allocations: 276.5 kB / 400.9 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/0.463, allocations: 94.34 kB / 401 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.4632, allocations: 108.5 kB / 401.1 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.4633, allocations: 11.81 kB / 401.1 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-05/0.4633, allocations: 4.781 kB / 401.1 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.4633, allocations: 3.984 kB / 401.1 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006231/0.4695, allocations: 2.458 MB / 403.6 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.4696, allocations: 4 kB / 403.6 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007258/0.4703, allocations: 119.9 kB / 403.7 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001911/0.4722, allocations: 430.5 kB / 404.1 MB, free: 2.879 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.444e-05/0.4723, allocations: 24.05 kB / 404.1 MB, free: 2.855 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01699/0.4893, allocations: 10.9 MB / 415 MB, free: 7.133 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.4894, allocations: 0 / 415 MB, free: 7.133 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007387/0.4968, allocations: 1.938 MB / 417 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004373/0.4973, allocations: 183.7 kB / 417.1 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.4975, allocations: 19.98 kB / 417.2 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/0.4988, allocations: 103.9 kB / 417.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002911/0.4991, allocations: 68.34 kB / 417.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-05/0.4992, allocations: 20 kB / 417.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001199/0.5004, allocations: 0.5498 MB / 417.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5005, allocations: 0 / 417.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002146/0.5026, allocations: 363.1 kB / 418.2 MB, free: 3.848 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.0003232/0.503, allocations: 123.2 kB / 418.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006885/0.5099, allocations: 2.013 MB / 420.4 MB, free: 1.672 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.5099, allocations: 11.62 kB / 420.4 MB, free: 1.664 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001986/0.5119, allocations: 1.159 MB / 421.6 MB, free: 436 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.5132, allocations: 204.4 kB / 421.7 MB, free: 240 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005551/0.5188, allocations: 2.865 MB / 424.6 MB, free: 13.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006296/0.5194, allocations: 1.078 MB / 425.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.5197, allocations: 63.44 kB / 425.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5197, allocations: 0 / 425.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of Templates: time 0.04397/0.5636, allocations: 43.04 MB / 468.8 MB, free: 1.137 MB / 366.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/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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches