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.001562/0.001563, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001964/0.001964, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.89 kB / 358.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2426, allocations: 50.54 MB / 408.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.007993/0.2506, allocations: 7.872 MB / 416.7 MB, free: 9.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003303/0.2539, allocations: 1.913 MB / 418.6 MB, free: 7.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.255, allocations: 23.94 kB / 418.6 MB, free: 7.684 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006524/0.2557, allocations: 237.7 kB / 418.8 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.2568, allocations: 440.3 kB / 419.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009387/0.2577, allocations: 499.3 kB / 419.8 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002013/0.2597, allocations: 1.806 MB / 421.6 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009608/0.2607, allocations: 0.6129 MB / 422.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009858/0.2617, allocations: 0.6267 MB / 422.8 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007465/0.2625, allocations: 0.7233 MB / 423.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002086/0.2627, allocations: 180 kB / 423.7 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00023/0.2629, allocations: 184 kB / 423.9 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.2631, allocations: 346.8 kB / 424.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005819/0.2637, allocations: 0.7814 MB / 425 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.2654, allocations: 2.05 MB / 427.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.2654, allocations: 4 kB / 427.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2654, allocations: 0 / 427.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.647e-05/0.2655, allocations: 0 / 427.1 MB, free: 15.18 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.003376/0.2689, allocations: 1.781 MB / 428.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.2689, allocations: 8.031 kB / 428.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002026/0.2691, allocations: 186 kB / 429 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002145/0.2693, allocations: 159.1 kB / 429.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.2705, allocations: 0.7605 MB / 429.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.78e-05/0.2706, allocations: 86.45 kB / 430 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.2707, allocations: 123.9 kB / 430.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002273/0.273, allocations: 1.316 MB / 431.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.2731, allocations: 0 / 431.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.2732, allocations: 52 kB / 431.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.2732, allocations: 32 kB / 431.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.2755, allocations: 1.122 MB / 432.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007387/0.2829, allocations: 4.941 MB / 437.6 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002372/0.2853, allocations: 1.231 MB / 438.8 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.2865, allocations: 0.5293 MB / 439.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.006e-05/0.2865, allocations: 8.656 kB / 439.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.2866, allocations: 47.22 kB / 439.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.996e-06/0.2866, allocations: 0 / 439.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.008734/0.2953, allocations: 2.932 MB / 442.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.2954, allocations: 85.77 kB / 442.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009659/0.2964, allocations: 0.802 MB / 443.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/0.2964, allocations: 41.7 kB / 443.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/0.2968, allocations: 0.592 MB / 443.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.297, allocations: 283.9 kB / 444.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/0.2972, allocations: 166.5 kB / 444.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2974, allocations: 349.9 kB / 444.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008781/0.2982, allocations: 369.8 kB / 445 MB, free: 12.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009873/0.2992, allocations: 0.5777 MB / 445.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/0.3011, allocations: 0.9481 MB / 446.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.3011, allocations: 7.938 kB / 446.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003135/0.3043, allocations: 1.362 MB / 447.9 MB, free: 9.473 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.3043, allocations: 10.81 kB / 447.9 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.3044, allocations: 8 kB / 447.9 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000816/0.3052, allocations: 226.9 kB / 448.2 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003712/0.3089, allocations: 0.8349 MB / 449 MB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01434/0.3233, allocations: 10.83 MB / 459.8 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.3247, allocations: 146.9 kB / 460 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/0.3249, allocations: 39.98 kB / 460 MB, free: 12.54 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.0007238/0.3256, allocations: 269.6 kB / 460.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/0.3259, allocations: 102.9 kB / 460.4 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.3262, allocations: 108.7 kB / 460.5 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.3262, allocations: 8 kB / 460.5 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.3262, allocations: 4 kB / 460.5 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.3262, allocations: 3.984 kB / 460.5 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005814/0.332, allocations: 2.452 MB / 462.9 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.3321, allocations: 4 kB / 462.9 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005871/0.3327, allocations: 127.7 kB / 463.1 MB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/0.3341, allocations: 428.9 kB / 463.5 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.965e-05/0.3342, allocations: 16 kB / 463.5 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01312/0.3473, allocations: 10.88 MB / 474.4 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3473, allocations: 3.984 kB / 474.4 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004823/0.3522, allocations: 1.948 MB / 476.3 MB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003092/0.3525, allocations: 179.9 kB / 476.5 MB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/0.3527, allocations: 16 kB / 476.5 MB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000839/0.3535, allocations: 107.8 kB / 476.6 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.3537, allocations: 60.48 kB / 476.7 MB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.336e-05/0.3537, allocations: 20 kB / 476.7 MB, free: 10.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007021/0.3544, allocations: 0.5498 MB / 477.3 MB, free: 10.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.333e-06/0.3545, allocations: 3.938 kB / 477.3 MB, free: 10.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001248/0.3557, allocations: 370.8 kB / 477.6 MB, free: 9.895 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.004943/0.3607, allocations: 2.516 MB / 480.1 MB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00592/0.3666, allocations: 1.982 MB / 482.1 MB, free: 5.305 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.3666, allocations: 1.062 kB / 482.1 MB, free: 5.305 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.3684, allocations: 1.163 MB / 483.3 MB, free: 4.059 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.3697, allocations: 213.5 kB / 483.5 MB, free: 3.855 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01762/0.3873, allocations: 9.236 MB / 492.7 MB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.3884, allocations: 1.078 MB / 493.8 MB, free: 9.203 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005104/0.389, allocations: 99.52 kB / 493.9 MB, free: 9.102 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005472/0.3895, allocations: 435.3 kB / 494.3 MB, free: 8.676 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3895, allocations: 0 / 494.3 MB, free: 8.676 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05769/0.4472, allocations: 24.47 MB / 0.5066 GB, free: 488 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.61, allocations: 9.281 kB / 0.5067 GB, free: 484 kB / 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.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