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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 122.7 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001392, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 67.89 kB / 373.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1163, allocations: 53.32 MB / 426.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.2187/0.335, allocations: 7.901 MB / 434.6 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003196/0.3382, allocations: 1.902 MB / 436.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006702/0.3389, allocations: 29.34 kB / 436.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005073/0.3394, allocations: 238.4 kB / 436.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.3406, allocations: 454.8 kB / 437.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.3418, allocations: 0.4946 MB / 437.7 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002009/0.3438, allocations: 1.798 MB / 439.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006309/0.3445, allocations: 440.7 kB / 439.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007905/0.3452, allocations: 0.6369 MB / 440.6 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007207/0.346, allocations: 0.7191 MB / 441.3 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002248/0.3462, allocations: 179.4 kB / 441.5 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.3465, allocations: 178.7 kB / 441.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.3467, allocations: 358 kB / 442 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005998/0.3473, allocations: 0.7751 MB / 442.8 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002409/0.3497, allocations: 2.057 MB / 444.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3497, allocations: 1.906 kB / 444.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3497, allocations: 0 / 444.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.689e-05/0.3497, allocations: 0 / 444.8 MB, free: 3.035 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.003735/0.3535, allocations: 1.828 MB / 446.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3535, allocations: 9.094 kB / 446.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002063/0.3537, allocations: 185.3 kB / 446.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002503/0.354, allocations: 162.9 kB / 447 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.3551, allocations: 0.7595 MB / 447.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.987e-05/0.3552, allocations: 91.86 kB / 447.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.3553, allocations: 128 kB / 448 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/0.3578, allocations: 1.317 MB / 449.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.3579, allocations: 3.938 kB / 449.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-05/0.358, allocations: 51.59 kB / 449.4 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.214e-05/0.358, allocations: 30.09 kB / 449.4 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002412/0.3604, allocations: 1.122 MB / 450.5 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008956/0.3694, allocations: 4.96 MB / 455.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/0.3718, allocations: 1.148 MB / 456.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.373, allocations: 494 kB / 457.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.84e-05/0.373, allocations: 11.86 kB / 457.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.3731, allocations: 48.69 kB / 457.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 3.426e-06/0.3731, allocations: 1.406 kB / 457.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.00906/0.3821, allocations: 2.926 MB / 460.1 MB, free: 10.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.3822, allocations: 89.67 kB / 460.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.3835, allocations: 0.8027 MB / 461 MB, free: 9.758 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.243e-05/0.3836, allocations: 41.92 kB / 461 MB, free: 9.715 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005062/0.3841, allocations: 0.6099 MB / 461.6 MB, free: 9.168 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002974/0.3844, allocations: 291.1 kB / 461.9 MB, free: 8.914 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003121/0.3847, allocations: 174 kB / 462.1 MB, free: 8.801 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.3849, allocations: 346.5 kB / 462.4 MB, free: 8.465 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009313/0.3858, allocations: 370 kB / 462.8 MB, free: 8.301 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.3869, allocations: 0.5773 MB / 463.4 MB, free: 7.867 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/0.3889, allocations: 0.9586 MB / 464.3 MB, free: 7.234 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.3889, allocations: 2.25 kB / 464.3 MB, free: 7.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003328/0.3923, allocations: 1.353 MB / 465.7 MB, free: 6.578 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.3923, allocations: 8 kB / 465.7 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.3923, allocations: 6.844 kB / 465.7 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000827/0.3931, allocations: 222 kB / 465.9 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003436/0.3966, allocations: 0.8318 MB / 466.7 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01441/0.411, allocations: 10.84 MB / 477.6 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.4121, allocations: 147.4 kB / 477.7 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-05/0.4122, allocations: 42.23 kB / 477.8 MB, free: 12.12 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.0005462/0.4128, allocations: 269.8 kB / 478 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.413, allocations: 105.6 kB / 478.1 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.4132, allocations: 119.8 kB / 478.2 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.4132, allocations: 8.719 kB / 478.3 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.4132, allocations: 1.406 kB / 478.3 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.4132, allocations: 3.984 kB / 478.3 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005385/0.4186, allocations: 2.445 MB / 480.7 MB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.4186, allocations: 4 kB / 480.7 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005539/0.4191, allocations: 124.7 kB / 480.8 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001415/0.4205, allocations: 431.4 kB / 481.3 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.423e-05/0.4206, allocations: 16.12 kB / 481.3 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01393/0.4345, allocations: 10.9 MB / 492.2 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.4345, allocations: 3.984 kB / 492.2 MB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004945/0.4395, allocations: 1.933 MB / 494.1 MB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005251/0.44, allocations: 192.3 kB / 494.3 MB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.4401, allocations: 19.94 kB / 494.3 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007771/0.4409, allocations: 107.8 kB / 494.4 MB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.4411, allocations: 68.41 kB / 494.5 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.009e-05/0.4411, allocations: 24 kB / 494.5 MB, free: 10.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007967/0.4419, allocations: 0.5498 MB / 495.1 MB, free: 10.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4419, allocations: 0 / 495.1 MB, free: 10.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001411/0.4433, allocations: 359.3 kB / 495.4 MB, free: 9.988 MB / 398.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.005185/0.4485, allocations: 2.509 MB / 497.9 MB, free: 7.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005871/0.4544, allocations: 1.956 MB / 499.9 MB, free: 5.434 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.4544, allocations: 0 / 499.9 MB, free: 5.434 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001898/0.4563, allocations: 1.137 MB / 0.4893 GB, free: 4.215 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.4578, allocations: 208.5 kB / 0.4895 GB, free: 4.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01843/0.4762, allocations: 9.269 MB / 0.4985 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000904/0.4771, allocations: 1.078 MB / 0.4996 GB, free: 9.324 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005138/0.4776, allocations: 99.48 kB / 0.4997 GB, free: 9.223 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000567/0.4782, allocations: 439.3 kB / 0.5001 GB, free: 8.793 MB / 414.1 MB Notification: Performance of SimCode: time 1.503e-06/0.4782, allocations: 0 / 0.5001 GB, free: 8.793 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07429/0.5525, allocations: 24.16 MB / 0.5237 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/14.67, allocations: 11.92 kB / 0.5237 GB, free: 0.8711 MB / 430.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.26635189075023]