Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 109.9 kB / 17.06 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 192 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 47.92 kB / 350.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2588, allocations: 49.43 MB / 400.3 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009682/0.2686, allocations: 7.884 MB / 408.2 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004294/0.2729, allocations: 1.855 MB / 410 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.2739, allocations: 27.88 kB / 410 MB, free: 15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005968/0.2746, allocations: 241.5 kB / 410.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.2757, allocations: 440.3 kB / 410.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000883/0.2766, allocations: 0.4916 MB / 411.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001839/0.2784, allocations: 1.806 MB / 413 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000862/0.2793, allocations: 0.6013 MB / 413.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007709/0.2801, allocations: 0.6422 MB / 414.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007798/0.2809, allocations: 0.7155 MB / 415 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002188/0.2811, allocations: 176 kB / 415.1 MB, free: 9.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002532/0.2814, allocations: 180 kB / 415.3 MB, free: 9.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003014/0.2817, allocations: 362.8 kB / 415.7 MB, free: 9.332 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007206/0.2824, allocations: 0.7736 MB / 416.4 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.2844, allocations: 2.058 MB / 418.5 MB, free: 6.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2844, allocations: 4 kB / 418.5 MB, free: 6.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2844, allocations: 0 / 418.5 MB, free: 6.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.641e-05/0.2844, allocations: 0 / 418.5 MB, free: 6.488 MB / 334.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.003395/0.2878, allocations: 1.823 MB / 420.3 MB, free: 4.609 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.2879, allocations: 12.03 kB / 420.3 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002172/0.2881, allocations: 182 kB / 420.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002231/0.2883, allocations: 160 kB / 420.7 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.2894, allocations: 0.769 MB / 421.4 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.535e-05/0.2895, allocations: 90.45 kB / 421.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.2897, allocations: 120 kB / 421.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/0.2921, allocations: 1.312 MB / 423 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.2922, allocations: 4 kB / 423 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.2923, allocations: 52 kB / 423 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.2923, allocations: 28 kB / 423 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.2948, allocations: 1.118 MB / 424.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007754/0.3026, allocations: 4.958 MB / 429.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/0.3052, allocations: 1.22 MB / 430.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.3064, allocations: 0.5332 MB / 430.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.712e-05/0.3065, allocations: 8.656 kB / 430.9 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/0.3065, allocations: 43.22 kB / 430.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.695e-06/0.3065, allocations: 0 / 430.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.008991/0.3155, allocations: 2.937 MB / 433.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/0.3156, allocations: 85.77 kB / 433.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.3167, allocations: 0.8097 MB / 434.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.779e-05/0.3168, allocations: 49.64 kB / 434.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004473/0.3173, allocations: 0.6053 MB / 435.4 MB, free: 4.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/0.3175, allocations: 289.5 kB / 435.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002689/0.3178, allocations: 174.6 kB / 435.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.318, allocations: 345.9 kB / 436.2 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009045/0.3189, allocations: 365.8 kB / 436.5 MB, free: 3.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.32, allocations: 0.5895 MB / 437.1 MB, free: 3.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/0.3219, allocations: 0.9597 MB / 438.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3219, allocations: 0 / 438.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003232/0.3252, allocations: 1.358 MB / 439.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.3252, allocations: 12 kB / 439.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.3252, allocations: 8 kB / 439.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007748/0.326, allocations: 218.4 kB / 439.7 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003682/0.3297, allocations: 0.8349 MB / 440.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01432/0.344, allocations: 10.85 MB / 451.4 MB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.3451, allocations: 143.3 kB / 451.5 MB, free: 3.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.666e-05/0.3452, allocations: 43.98 kB / 451.6 MB, free: 3.73 MB / 366.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.0004871/0.3457, allocations: 265.6 kB / 451.8 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.3459, allocations: 107.3 kB / 451.9 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.3461, allocations: 112.8 kB / 452 MB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.3461, allocations: 12 kB / 452 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.3461, allocations: 0 / 452 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.3461, allocations: 3.984 kB / 452 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005212/0.3513, allocations: 2.46 MB / 454.5 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.3513, allocations: 4 kB / 454.5 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005401/0.3519, allocations: 127.8 kB / 454.6 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00137/0.3533, allocations: 420.9 kB / 455 MB, free: 124 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.59e-05/0.3534, allocations: 16 kB / 455.1 MB, free: 108 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01366/0.367, allocations: 10.9 MB / 466 MB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3671, allocations: 7.875 kB / 466 MB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005008/0.3721, allocations: 1.944 MB / 467.9 MB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003395/0.3724, allocations: 192.3 kB / 468.1 MB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.3726, allocations: 16 kB / 468.1 MB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007918/0.3734, allocations: 107.8 kB / 468.2 MB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.3735, allocations: 64.42 kB / 468.3 MB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.145e-05/0.3736, allocations: 24 kB / 468.3 MB, free: 1.965 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007302/0.3743, allocations: 0.5498 MB / 468.9 MB, free: 1.418 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3743, allocations: 0 / 468.9 MB, free: 1.418 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001241/0.3756, allocations: 359.3 kB / 469.2 MB, free: 1.066 MB / 382.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.005187/0.3808, allocations: 2.511 MB / 471.7 MB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00607/0.3869, allocations: 1.99 MB / 473.7 MB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.3869, allocations: 0 / 473.7 MB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001784/0.3887, allocations: 1.172 MB / 474.9 MB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.3899, allocations: 215.6 kB / 475.1 MB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01691/0.4068, allocations: 9.269 MB / 484.4 MB, free: 1.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008447/0.4077, allocations: 1.078 MB / 485.4 MB, free: 332 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005052/0.4082, allocations: 103.4 kB / 485.5 MB, free: 224 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005685/0.4088, allocations: 431.4 kB / 486 MB, free: 15.79 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4088, allocations: 3.938 kB / 486 MB, free: 15.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0713/0.4801, allocations: 24.01 MB / 0.498 GB, free: 8.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.12, allocations: 3.938 kB / 0.498 GB, free: 8.066 MB / 430.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches