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.001164/0.001164, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001236/0.001236, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.61 kB / 307.1 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08736/0.0886, allocations: 50.53 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008634/0.09727, allocations: 7.874 MB / 365.5 MB, free: 6.098 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003789/0.1011, allocations: 1.905 MB / 367.4 MB, free: 4.188 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.1022, allocations: 31.81 kB / 367.4 MB, free: 4.156 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007059/0.1029, allocations: 237.7 kB / 367.6 MB, free: 3.922 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.1043, allocations: 440.2 kB / 368.1 MB, free: 3.488 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.1054, allocations: 0.4993 MB / 368.6 MB, free: 2.988 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002145/0.1076, allocations: 1.794 MB / 370.4 MB, free: 1.188 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009613/0.1085, allocations: 0.6091 MB / 371 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1538/0.2624, allocations: 0.6333 MB / 371.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009838/0.2634, allocations: 0.715 MB / 372.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004074/0.2638, allocations: 178 kB / 372.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003253/0.2641, allocations: 179.6 kB / 372.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.2644, allocations: 362.4 kB / 373 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000722/0.2651, allocations: 0.7726 MB / 373.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002076/0.2672, allocations: 2.025 MB / 375.8 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2672, allocations: 0 / 375.8 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2672, allocations: 0 / 375.8 MB, free: 9.832 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.354e-05/0.2673, allocations: 3.891 kB / 375.8 MB, free: 9.832 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.003499/0.2708, allocations: 1.781 MB / 377.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.2709, allocations: 12.84 kB / 377.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002107/0.2711, allocations: 183.3 kB / 377.8 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002439/0.2713, allocations: 158.3 kB / 378 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.2724, allocations: 0.7377 MB / 378.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-05/0.2725, allocations: 89.36 kB / 378.8 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/0.2727, allocations: 124.6 kB / 378.9 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00265/0.2753, allocations: 1.309 MB / 380.2 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.2754, allocations: 2.125 kB / 380.2 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.2755, allocations: 47.34 kB / 380.3 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.2755, allocations: 33.91 kB / 380.3 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002594/0.2781, allocations: 1.123 MB / 381.4 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008415/0.2865, allocations: 4.992 MB / 386.4 MB, free: 4.969 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002299/0.2889, allocations: 1.209 MB / 387.6 MB, free: 4.371 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.2899, allocations: 0.5304 MB / 388.1 MB, free: 4.188 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.212e-05/0.29, allocations: 12.62 kB / 388.2 MB, free: 4.188 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.29, allocations: 40.56 kB / 388.2 MB, free: 4.145 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 2.514e-06/0.2901, allocations: 0 / 388.2 MB, free: 4.145 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.008513/0.2986, allocations: 2.932 MB / 391.1 MB, free: 2.711 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.2986, allocations: 86.3 kB / 391.2 MB, free: 2.617 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.2997, allocations: 0.8064 MB / 392 MB, free: 2.156 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.488e-05/0.2998, allocations: 46.36 kB / 392.1 MB, free: 2.109 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/0.3001, allocations: 0.593 MB / 392.7 MB, free: 1.582 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.3002, allocations: 278.1 kB / 392.9 MB, free: 1.344 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.3005, allocations: 170.1 kB / 393.1 MB, free: 1.238 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.72e-05/0.3005, allocations: 342.2 kB / 393.4 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008522/0.3014, allocations: 367.2 kB / 393.8 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009252/0.3023, allocations: 0.584 MB / 394.4 MB, free: 308 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001884/0.3042, allocations: 0.9531 MB / 395.3 MB, free: 15.71 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.3042, allocations: 5 kB / 395.3 MB, free: 15.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003173/0.3074, allocations: 1.353 MB / 396.7 MB, free: 15.11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.3075, allocations: 15.94 kB / 396.7 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.3075, allocations: 7.156 kB / 396.7 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007751/0.3083, allocations: 228.4 kB / 396.9 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00365/0.3119, allocations: 0.8285 MB / 397.8 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01394/0.3259, allocations: 10.85 MB / 408.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.3272, allocations: 138.8 kB / 408.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.042e-05/0.3273, allocations: 40.53 kB / 408.8 MB, free: 4.207 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.0006678/0.328, allocations: 275.1 kB / 409.1 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.3282, allocations: 98.88 kB / 409.2 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.3284, allocations: 104.9 kB / 409.3 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.3284, allocations: 11.94 kB / 409.3 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/0.3285, allocations: 3.938 kB / 409.3 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.3285, allocations: 3.984 kB / 409.3 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005403/0.3339, allocations: 2.456 MB / 411.7 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.3339, allocations: 4.062 kB / 411.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005563/0.3345, allocations: 121.1 kB / 411.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001388/0.3359, allocations: 429.5 kB / 412.3 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-05/0.336, allocations: 23.94 kB / 412.3 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01357/0.3495, allocations: 10.9 MB / 423.2 MB, free: 4.949 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3496, allocations: 0 / 423.2 MB, free: 4.949 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005091/0.3547, allocations: 1.939 MB / 425.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003736/0.3551, allocations: 187.8 kB / 425.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.3552, allocations: 16 kB / 425.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000813/0.356, allocations: 99.92 kB / 425.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.3562, allocations: 70.36 kB / 425.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.797e-05/0.3563, allocations: 20 kB / 425.5 MB, free: 2.582 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007562/0.357, allocations: 0.5563 MB / 426.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.357, allocations: 0 / 426.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001347/0.3584, allocations: 355 kB / 426.4 MB, free: 1.684 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.00518/0.3636, allocations: 2.505 MB / 428.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006406/0.37, allocations: 2.02 MB / 430.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/0.37, allocations: 4 kB / 430.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001768/0.3718, allocations: 1.165 MB / 432.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.3731, allocations: 211.6 kB / 432.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/0.3907, allocations: 9.871 MB / 442.2 MB, free: 1.465 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007447/0.3915, allocations: 1.078 MB / 443.3 MB, free: 368 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000552/0.392, allocations: 99.48 kB / 443.4 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006264/0.3927, allocations: 439.4 kB / 443.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3927, allocations: 0 / 443.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06214/0.4548, allocations: 23.53 MB / 467.3 MB, free: 8.629 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.43, allocations: 7.375 kB / 467.3 MB, free: 8.625 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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