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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001097/0.001097, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001108/0.001108, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.92 kB / 307.1 MB, free: 496 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0936/0.09506, allocations: 50.53 MB / 357.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009802/0.1049, allocations: 7.87 MB / 365.5 MB, free: 6.035 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004802/0.1098, allocations: 1.909 MB / 367.4 MB, free: 4.121 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.1112, allocations: 27.94 kB / 367.4 MB, free: 4.094 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.1123, allocations: 233.7 kB / 367.6 MB, free: 3.863 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00173/0.1141, allocations: 444.2 kB / 368.1 MB, free: 3.426 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.1154, allocations: 0.4993 MB / 368.6 MB, free: 2.926 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002526/0.118, allocations: 1.79 MB / 370.4 MB, free: 1.129 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.1192, allocations: 0.613 MB / 371 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2035/0.3227, allocations: 0.6328 MB / 371.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.3239, allocations: 0.7168 MB / 372.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004065/0.3243, allocations: 181.6 kB / 372.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003134/0.3247, allocations: 179.5 kB / 372.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002789/0.325, allocations: 349.9 kB / 373 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006811/0.3256, allocations: 0.7778 MB / 373.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002175/0.3278, allocations: 2.027 MB / 375.8 MB, free: 9.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3278, allocations: 1.031 kB / 375.8 MB, free: 9.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3278, allocations: 1.625 kB / 375.8 MB, free: 9.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.688e-05/0.3279, allocations: 1.969 kB / 375.8 MB, free: 9.77 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.00358/0.3315, allocations: 1.778 MB / 377.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.3315, allocations: 10.47 kB / 377.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000217/0.3318, allocations: 188.6 kB / 377.8 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002614/0.332, allocations: 159.1 kB / 377.9 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009648/0.333, allocations: 0.7335 MB / 378.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.499e-05/0.3331, allocations: 95.08 kB / 378.8 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.3333, allocations: 123.6 kB / 378.9 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002396/0.3357, allocations: 1.309 MB / 380.2 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.3357, allocations: 0 / 380.2 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.3358, allocations: 53.31 kB / 380.3 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.3358, allocations: 28.23 kB / 380.3 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/0.3383, allocations: 1.123 MB / 381.4 MB, free: 7.844 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007574/0.3459, allocations: 4.991 MB / 386.4 MB, free: 4.883 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002512/0.3484, allocations: 1.215 MB / 387.6 MB, free: 4.285 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/0.3497, allocations: 0.5233 MB / 388.1 MB, free: 4.105 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.384e-05/0.3497, allocations: 14.91 kB / 388.2 MB, free: 4.102 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.3498, allocations: 40.77 kB / 388.2 MB, free: 4.059 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 3.186e-06/0.3498, allocations: 0 / 388.2 MB, free: 4.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.008933/0.3587, allocations: 2.936 MB / 391.1 MB, free: 2.609 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.3588, allocations: 85.52 kB / 391.2 MB, free: 2.516 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.3602, allocations: 0.8067 MB / 392 MB, free: 2.055 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.827e-05/0.3603, allocations: 41.83 kB / 392.1 MB, free: 2.012 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000318/0.3606, allocations: 0.5945 MB / 392.7 MB, free: 1.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.3608, allocations: 283.5 kB / 392.9 MB, free: 1.242 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002729/0.3611, allocations: 169.8 kB / 393.1 MB, free: 1.137 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3612, allocations: 342.2 kB / 393.4 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009154/0.3621, allocations: 366.6 kB / 393.8 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.3632, allocations: 0.5792 MB / 394.4 MB, free: 208 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00223/0.3655, allocations: 0.9557 MB / 395.3 MB, free: 15.61 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.3655, allocations: 1.188 kB / 395.3 MB, free: 15.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003339/0.3689, allocations: 1.359 MB / 396.7 MB, free: 15 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.3689, allocations: 13.75 kB / 396.7 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.3689, allocations: 6.75 kB / 396.7 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008232/0.3697, allocations: 231 kB / 396.9 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003422/0.3732, allocations: 0.8274 MB / 397.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01366/0.3869, allocations: 10.86 MB / 408.6 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.3882, allocations: 138.8 kB / 408.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.3884, allocations: 36.12 kB / 408.8 MB, free: 4.102 MB / 318.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.0008034/0.3892, allocations: 280.3 kB / 409.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003469/0.3895, allocations: 94.88 kB / 409.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.3898, allocations: 108.9 kB / 409.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.3898, allocations: 8 kB / 409.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.89e-05/0.3898, allocations: 7.938 kB / 409.3 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.3898, allocations: 3.984 kB / 409.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005847/0.3957, allocations: 2.452 MB / 411.7 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.3957, allocations: 4.062 kB / 411.7 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005394/0.3963, allocations: 121.2 kB / 411.9 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001394/0.3977, allocations: 427.4 kB / 412.3 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.011e-05/0.3978, allocations: 23.94 kB / 412.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01284/0.4106, allocations: 10.89 MB / 423.2 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4107, allocations: 3.938 kB / 423.2 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005387/0.416, allocations: 1.943 MB / 425.1 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004566/0.4165, allocations: 183.8 kB / 425.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002947/0.4168, allocations: 16 kB / 425.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.4179, allocations: 99.92 kB / 425.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/0.4182, allocations: 71.78 kB / 425.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.009e-05/0.4183, allocations: 20 kB / 425.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001072/0.4194, allocations: 0.5575 MB / 426.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4194, allocations: 0 / 426.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001747/0.4211, allocations: 355 kB / 426.4 MB, free: 1.586 MB / 334.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.005305/0.4265, allocations: 2.512 MB / 428.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006462/0.4329, allocations: 2.016 MB / 430.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.433, allocations: 0 / 430.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001874/0.4349, allocations: 1.171 MB / 432.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/0.4366, allocations: 209 kB / 432.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01844/0.4551, allocations: 9.874 MB / 442.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007854/0.4559, allocations: 1.074 MB / 443.3 MB, free: 268 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005069/0.4564, allocations: 103.5 kB / 443.4 MB, free: 160 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005724/0.457, allocations: 427.2 kB / 443.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of SimCode: time 1.042e-06/0.457, allocations: 0 / 443.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0609/0.5179, allocations: 23.54 MB / 467.3 MB, free: 8.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.68, allocations: 12 kB / 467.3 MB, free: 8.488 MB / 382.1 MB (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 --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) 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