Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002339/0.002339, allocations: 215.7 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.439/1.439, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 47.92 kB / 377.8 MB, free: 3.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2344, allocations: 53.37 MB / 431.2 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009523/0.2439, allocations: 7.936 MB / 439.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004116/0.248, allocations: 1.905 MB / 441 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.2492, allocations: 31.81 kB / 441.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008206/0.25, allocations: 241.7 kB / 441.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.2515, allocations: 452.2 kB / 441.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.2526, allocations: 0.5033 MB / 442.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002519/0.2552, allocations: 1.794 MB / 444 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008801/0.256, allocations: 444.3 kB / 444.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.2571, allocations: 0.654 MB / 445.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.2583, allocations: 0.7195 MB / 445.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004333/0.2588, allocations: 184 kB / 446 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004549/0.2592, allocations: 176 kB / 446.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004028/0.2596, allocations: 354.8 kB / 446.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.2607, allocations: 0.7776 MB / 447.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002237/0.2629, allocations: 2.055 MB / 449.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2629, allocations: 0 / 449.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2629, allocations: 3.938 kB / 449.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.474e-05/0.2629, allocations: 0 / 449.4 MB, free: 4.516 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.003443/0.2664, allocations: 1.744 MB / 451.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.2664, allocations: 12.03 kB / 451.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002116/0.2666, allocations: 186 kB / 451.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002443/0.2669, allocations: 164 kB / 451.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.2681, allocations: 0.7007 MB / 452.2 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.263e-05/0.2681, allocations: 94.39 kB / 452.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.2683, allocations: 124 kB / 452.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/0.2708, allocations: 1.305 MB / 453.7 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/0.2708, allocations: 7.922 kB / 453.7 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.2709, allocations: 52 kB / 453.7 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.664e-05/0.2709, allocations: 28.05 kB / 453.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002541/0.2735, allocations: 1.122 MB / 454.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008008/0.2815, allocations: 4.86 MB / 459.8 MB, free: 9.777 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/0.2838, allocations: 0.9948 MB / 460.7 MB, free: 8.758 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.2849, allocations: 494 kB / 461.2 MB, free: 8.273 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.571e-05/0.285, allocations: 16.8 kB / 461.2 MB, free: 8.258 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/0.285, allocations: 43.16 kB / 461.3 MB, free: 8.207 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.815e-06/0.285, allocations: 0 / 461.3 MB, free: 8.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.008367/0.2934, allocations: 2.485 MB / 463.8 MB, free: 5.695 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/0.2935, allocations: 89.7 kB / 463.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.2946, allocations: 0.8098 MB / 464.7 MB, free: 4.773 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.543e-05/0.2947, allocations: 49.64 kB / 464.7 MB, free: 4.719 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004576/0.2952, allocations: 0.6053 MB / 465.3 MB, free: 4.105 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.2954, allocations: 285.5 kB / 465.6 MB, free: 3.824 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002562/0.2957, allocations: 170.6 kB / 465.8 MB, free: 3.652 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.2958, allocations: 349.9 kB / 466.1 MB, free: 3.305 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008945/0.2967, allocations: 365.8 kB / 466.5 MB, free: 2.945 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.2978, allocations: 0.5824 MB / 467.1 MB, free: 2.277 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/0.2996, allocations: 0.9521 MB / 468 MB, free: 1.238 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.2997, allocations: 0 / 468 MB, free: 1.238 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003213/0.3029, allocations: 1.354 MB / 469.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.3029, allocations: 8 kB / 469.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.3029, allocations: 11.94 kB / 469.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008072/0.3037, allocations: 226.7 kB / 469.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003542/0.3073, allocations: 0.8311 MB / 470.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01407/0.3213, allocations: 10.22 MB / 480.7 MB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009829/0.3223, allocations: 147.3 kB / 480.8 MB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.539e-05/0.3224, allocations: 36 kB / 480.8 MB, free: 3.691 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.0005099/0.3229, allocations: 281.8 kB / 481.1 MB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.3231, allocations: 103.3 kB / 481.2 MB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.3233, allocations: 112.8 kB / 481.3 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.3233, allocations: 11.98 kB / 481.3 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.3233, allocations: 4 kB / 481.3 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/0.3233, allocations: 3.984 kB / 481.3 MB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005187/0.3285, allocations: 2.414 MB / 483.8 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.3285, allocations: 0 / 483.8 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/0.329, allocations: 119.8 kB / 483.9 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00132/0.3304, allocations: 432.8 kB / 484.3 MB, free: 128 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-05/0.3304, allocations: 16 kB / 484.3 MB, free: 112 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01296/0.3434, allocations: 10.29 MB / 494.6 MB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3434, allocations: 0 / 494.6 MB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004622/0.348, allocations: 1.937 MB / 496.5 MB, free: 3.156 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002819/0.3483, allocations: 115.2 kB / 496.6 MB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.3484, allocations: 16 kB / 496.7 MB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007627/0.3491, allocations: 116.1 kB / 496.8 MB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.3493, allocations: 64.48 kB / 496.8 MB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.111e-05/0.3493, allocations: 27.98 kB / 496.9 MB, free: 2.824 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007492/0.3501, allocations: 0.5459 MB / 497.4 MB, free: 2.281 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3501, allocations: 0 / 497.4 MB, free: 2.281 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00122/0.3513, allocations: 359.3 kB / 497.8 MB, free: 1.93 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.005058/0.3564, allocations: 2.512 MB / 0.4885 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005793/0.3622, allocations: 1.953 MB / 0.4905 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.3622, allocations: 0 / 0.4905 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001807/0.364, allocations: 1.14 MB / 0.4916 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.3653, allocations: 214.3 kB / 0.4918 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01659/0.3818, allocations: 9.271 MB / 0.5008 GB, free: 2.363 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007529/0.3826, allocations: 1.074 MB / 0.5019 GB, free: 1.262 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004111/0.383, allocations: 103.5 kB / 0.502 GB, free: 1.156 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005263/0.3835, allocations: 431.3 kB / 0.5024 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3835, allocations: 0 / 0.5024 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07594/0.4595, allocations: 24.91 MB / 0.5267 GB, free: 8.102 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/15.15, allocations: 0 / 0.5267 GB, free: 8.102 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.87352247699164]