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.001102/0.001102, allocations: 121.2 kB / 17.78 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001173/0.001173, allocations: 203.8 kB / 18.73 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.91 kB / 358.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2485, allocations: 50.54 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008971/0.2575, allocations: 7.887 MB / 416.7 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005037/0.2626, allocations: 1.901 MB / 418.6 MB, free: 7.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.2643, allocations: 27.88 kB / 418.6 MB, free: 7.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.2658, allocations: 237.7 kB / 418.8 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001975/0.2678, allocations: 460.2 kB / 419.3 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.269, allocations: 499.4 kB / 419.8 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002541/0.2715, allocations: 1.802 MB / 421.6 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000961/0.2725, allocations: 0.6091 MB / 422.2 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009058/0.2734, allocations: 0.6422 MB / 422.8 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009438/0.2744, allocations: 0.7195 MB / 423.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003285/0.2747, allocations: 176 kB / 423.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/0.275, allocations: 184 kB / 423.9 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002473/0.2753, allocations: 354.8 kB / 424.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006329/0.2759, allocations: 0.7737 MB / 425 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.2776, allocations: 2.05 MB / 427.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2777, allocations: 0 / 427.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2777, allocations: 0 / 427.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.185e-05/0.2777, allocations: 4 kB / 427.1 MB, free: 15.15 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.003069/0.2808, allocations: 1.823 MB / 428.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.2808, allocations: 8.031 kB / 428.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002138/0.281, allocations: 186 kB / 429.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.2813, allocations: 160 kB / 429.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.2823, allocations: 0.7766 MB / 430 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-05/0.2824, allocations: 90.45 kB / 430.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.2826, allocations: 120 kB / 430.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/0.2848, allocations: 1.316 MB / 431.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.2848, allocations: 0 / 431.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.285, allocations: 52 kB / 431.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.285, allocations: 32 kB / 431.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.2873, allocations: 1.118 MB / 432.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006963/0.2943, allocations: 4.958 MB / 437.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/0.2968, allocations: 1.223 MB / 438.9 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.2979, allocations: 0.537 MB / 439.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.297e-05/0.298, allocations: 8.656 kB / 439.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.298, allocations: 43.22 kB / 439.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.575e-06/0.298, allocations: 0 / 439.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.00857/0.3066, allocations: 2.94 MB / 442.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.3067, allocations: 85.77 kB / 442.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.3079, allocations: 0.802 MB / 443.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.462e-05/0.308, allocations: 45.7 kB / 443.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004346/0.3085, allocations: 0.6052 MB / 444 MB, free: 13.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/0.3087, allocations: 293.5 kB / 444.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002742/0.309, allocations: 166.6 kB / 444.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3092, allocations: 345.9 kB / 444.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008764/0.31, allocations: 369.8 kB / 445.1 MB, free: 12.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.3111, allocations: 0.5816 MB / 445.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001888/0.313, allocations: 0.9481 MB / 446.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.313, allocations: 0 / 446.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003206/0.3163, allocations: 1.37 MB / 448 MB, free: 9.344 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.3163, allocations: 8 kB / 448 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.3163, allocations: 4 kB / 448 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008024/0.3171, allocations: 226.5 kB / 448.3 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003535/0.3207, allocations: 0.8389 MB / 449.1 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/0.3347, allocations: 10.83 MB / 459.9 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.3361, allocations: 151.2 kB / 460.1 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/0.3362, allocations: 36 kB / 460.1 MB, free: 12.41 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.0006259/0.3368, allocations: 273.5 kB / 460.4 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.337, allocations: 111.3 kB / 460.5 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.3372, allocations: 108.8 kB / 460.6 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.3372, allocations: 11.94 kB / 460.6 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/0.3372, allocations: 4 kB / 460.6 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.3373, allocations: 3.984 kB / 460.6 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004912/0.3422, allocations: 2.456 MB / 463.1 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3422, allocations: 0 / 463.1 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/0.3427, allocations: 127.7 kB / 463.2 MB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00128/0.344, allocations: 428.9 kB / 463.6 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.028e-05/0.3441, allocations: 19.98 kB / 463.6 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01173/0.3558, allocations: 10.89 MB / 474.5 MB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3558, allocations: 4.031 kB / 474.5 MB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004771/0.3606, allocations: 1.944 MB / 476.5 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/0.361, allocations: 196.3 kB / 476.7 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/0.3611, allocations: 16 kB / 476.7 MB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008202/0.3619, allocations: 107.8 kB / 476.8 MB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.3621, allocations: 60.48 kB / 476.8 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.427e-05/0.3622, allocations: 23.98 kB / 476.9 MB, free: 10.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007235/0.3629, allocations: 0.5498 MB / 477.4 MB, free: 10.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3629, allocations: 0 / 477.4 MB, free: 10.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001234/0.3641, allocations: 359.2 kB / 477.8 MB, free: 9.742 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.004932/0.3691, allocations: 2.526 MB / 480.3 MB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005762/0.3748, allocations: 1.994 MB / 482.3 MB, free: 5.137 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.3749, allocations: 5.062 kB / 482.3 MB, free: 5.133 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001645/0.3765, allocations: 1.159 MB / 483.5 MB, free: 3.891 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.3777, allocations: 221 kB / 483.7 MB, free: 3.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01601/0.3937, allocations: 9.267 MB / 492.9 MB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006471/0.3944, allocations: 1.081 MB / 494 MB, free: 8.984 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004008/0.3948, allocations: 99.5 kB / 494.1 MB, free: 8.883 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004836/0.3953, allocations: 435.3 kB / 494.5 MB, free: 8.457 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3953, allocations: 0 / 494.5 MB, free: 8.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0575/0.4529, allocations: 24 MB / 0.5064 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.37, allocations: 3.938 kB / 0.5064 GB, free: 0.7344 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 & 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