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.00126/0.00126, allocations: 118.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 68.08 kB / 358.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2681, allocations: 50.56 MB / 408.9 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008995/0.2771, allocations: 7.88 MB / 416.8 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003938/0.2811, allocations: 1.897 MB / 418.7 MB, free: 7.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007205/0.2818, allocations: 27.94 kB / 418.7 MB, free: 7.598 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005378/0.2824, allocations: 237.6 kB / 418.9 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009128/0.2833, allocations: 440.2 kB / 419.3 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009229/0.2843, allocations: 0.4955 MB / 419.8 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001816/0.2861, allocations: 1.798 MB / 421.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008394/0.2869, allocations: 0.6091 MB / 422.3 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000733/0.2877, allocations: 0.6383 MB / 422.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008038/0.2885, allocations: 0.7233 MB / 423.6 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002274/0.2887, allocations: 176 kB / 423.8 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002558/0.289, allocations: 180 kB / 424 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002999/0.2893, allocations: 350.8 kB / 424.3 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007182/0.29, allocations: 0.7775 MB / 425.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001975/0.292, allocations: 2.05 MB / 427.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.292, allocations: 4 kB / 427.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.292, allocations: 0 / 427.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.467e-05/0.2921, allocations: 0 / 427.1 MB, free: 15.09 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.003294/0.2954, allocations: 1.819 MB / 429 MB, free: 13.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.2954, allocations: 15.97 kB / 429 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002084/0.2956, allocations: 186 kB / 429.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002337/0.2959, allocations: 160 kB / 429.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.297, allocations: 0.7728 MB / 430.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.772e-05/0.2971, allocations: 90.45 kB / 430.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.2973, allocations: 120 kB / 430.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/0.2997, allocations: 1.312 MB / 431.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.2998, allocations: 4 kB / 431.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.2999, allocations: 52 kB / 431.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/0.2999, allocations: 28 kB / 431.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002504/0.3024, allocations: 1.129 MB / 432.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007669/0.3101, allocations: 4.958 MB / 437.8 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002582/0.3127, allocations: 1.211 MB / 439 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/0.3139, allocations: 0.5293 MB / 439.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.008e-05/0.314, allocations: 20.77 kB / 439.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.314, allocations: 43.22 kB / 439.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.695e-06/0.314, allocations: 4 kB / 439.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.008828/0.3229, allocations: 2.932 MB / 442.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.323, allocations: 89.77 kB / 442.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.3241, allocations: 0.802 MB / 443.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.154e-05/0.3242, allocations: 45.7 kB / 443.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004959/0.3247, allocations: 0.6052 MB / 444 MB, free: 13.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.325, allocations: 293.5 kB / 444.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002718/0.3253, allocations: 166.6 kB / 444.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3255, allocations: 345.9 kB / 444.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009186/0.3264, allocations: 369.8 kB / 445.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.3275, allocations: 0.5816 MB / 445.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001968/0.3294, allocations: 0.9481 MB / 446.7 MB, free: 10.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3295, allocations: 3.938 kB / 446.7 MB, free: 10.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003209/0.3327, allocations: 1.366 MB / 448.1 MB, free: 9.289 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.3327, allocations: 8 kB / 448.1 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.3327, allocations: 8 kB / 448.1 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008002/0.3335, allocations: 227 kB / 448.3 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003579/0.3371, allocations: 0.831 MB / 449.2 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01438/0.3515, allocations: 10.84 MB / 460 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.3526, allocations: 143.1 kB / 460.1 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.285e-05/0.3527, allocations: 47.98 kB / 460.2 MB, free: 12.35 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.0005198/0.3532, allocations: 269.7 kB / 460.5 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.3534, allocations: 107.3 kB / 460.6 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.3536, allocations: 108.8 kB / 460.7 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.3536, allocations: 11.94 kB / 460.7 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.3536, allocations: 0 / 460.7 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.3537, allocations: 3.984 kB / 460.7 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005178/0.3588, allocations: 2.46 MB / 463.1 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.3589, allocations: 3.984 kB / 463.1 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005296/0.3594, allocations: 123.9 kB / 463.3 MB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001338/0.3607, allocations: 424.8 kB / 463.7 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.047e-05/0.3608, allocations: 20 kB / 463.7 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/0.3741, allocations: 10.89 MB / 474.6 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3741, allocations: 0 / 474.6 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004849/0.379, allocations: 1.944 MB / 476.5 MB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/0.3793, allocations: 196.3 kB / 476.7 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.3794, allocations: 20 kB / 476.7 MB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007635/0.3802, allocations: 99.86 kB / 476.8 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.3804, allocations: 68.41 kB / 476.9 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.509e-05/0.3804, allocations: 20 kB / 476.9 MB, free: 10.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007349/0.3812, allocations: 0.5537 MB / 477.5 MB, free: 10.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3812, allocations: 0 / 477.5 MB, free: 10.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001209/0.3824, allocations: 363.2 kB / 477.8 MB, free: 9.688 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.005057/0.3875, allocations: 2.527 MB / 480.4 MB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005987/0.3935, allocations: 1.991 MB / 482.4 MB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/0.3935, allocations: 8 kB / 482.4 MB, free: 5.074 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00179/0.3953, allocations: 1.155 MB / 483.5 MB, free: 3.836 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.3964, allocations: 217.5 kB / 483.7 MB, free: 3.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/0.4129, allocations: 9.27 MB / 493 MB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007438/0.4137, allocations: 1.074 MB / 494.1 MB, free: 8.934 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004153/0.4141, allocations: 103.5 kB / 494.2 MB, free: 8.828 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005217/0.4146, allocations: 435.3 kB / 494.6 MB, free: 8.402 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4146, allocations: 0 / 494.6 MB, free: 8.402 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09936/0.514, allocations: 23.99 MB / 0.5064 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/14.09, allocations: 4 kB / 0.5064 GB, free: 0.6836 MB / 430.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.1.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