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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 120.9 kB / 17.79 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002015/0.002015, allocations: 186.9 kB / 20.73 MB, free: 2.426 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 225.6 MB / 249.1 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 51.92 kB / 365.7 MB, free: 0.793 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09724/0.09878, allocations: 52.15 MB / 417.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009047/0.1078, allocations: 7.896 MB / 425.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003518/0.1113, allocations: 1.866 MB / 427.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000676/0.112, allocations: 27.94 kB / 427.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000569/0.1126, allocations: 237.6 kB / 427.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008966/0.1135, allocations: 452.2 kB / 428.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009342/0.1144, allocations: 0.4955 MB / 428.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002081/0.1165, allocations: 1.81 MB / 430.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007433/0.1172, allocations: 443.9 kB / 431 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008727/0.1181, allocations: 0.6344 MB / 431.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007902/0.1189, allocations: 0.7195 MB / 432.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002311/0.1191, allocations: 180 kB / 432.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002311/0.1194, allocations: 180 kB / 432.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002968/0.1197, allocations: 350.8 kB / 433.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007298/0.1204, allocations: 0.7737 MB / 433.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002029/0.1224, allocations: 2.066 MB / 435.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1224, allocations: 0 / 435.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1224, allocations: 0 / 435.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.028e-05/0.1224, allocations: 4 kB / 435.9 MB, free: 10.37 MB / 366.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.003404/0.1259, allocations: 1.815 MB / 437.7 MB, free: 8.496 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1259, allocations: 12.02 kB / 437.7 MB, free: 8.484 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002204/0.1261, allocations: 185.9 kB / 437.9 MB, free: 8.293 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002406/0.1264, allocations: 168 kB / 438.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.1276, allocations: 0.7612 MB / 438.9 MB, free: 7.328 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.894e-05/0.1276, allocations: 98.39 kB / 439 MB, free: 7.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.1278, allocations: 124 kB / 439.1 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/0.1303, allocations: 1.305 MB / 440.4 MB, free: 5.754 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/0.1303, allocations: 0 / 440.4 MB, free: 5.754 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.1304, allocations: 56 kB / 440.4 MB, free: 5.699 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/0.1304, allocations: 32 kB / 440.5 MB, free: 5.668 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/0.1329, allocations: 1.122 MB / 441.6 MB, free: 4.539 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1945/0.3274, allocations: 4.953 MB / 446.5 MB, free: 28.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002052/0.3294, allocations: 1.151 MB / 447.7 MB, free: 28.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000929/0.3304, allocations: 486.9 kB / 448.2 MB, free: 28.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.475e-05/0.3304, allocations: 9.562 kB / 448.2 MB, free: 28.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.3304, allocations: 44.78 kB / 448.2 MB, free: 28.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.234e-06/0.3304, allocations: 0.8125 kB / 448.2 MB, free: 28.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.007531/0.338, allocations: 2.927 MB / 451.1 MB, free: 27.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.338, allocations: 86.66 kB / 451.2 MB, free: 27.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.3391, allocations: 0.8117 MB / 452 MB, free: 27.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/0.3392, allocations: 45.42 kB / 452.1 MB, free: 27.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.3395, allocations: 0.608 MB / 452.7 MB, free: 27.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.3398, allocations: 295 kB / 453 MB, free: 27.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003066/0.3401, allocations: 168.6 kB / 453.1 MB, free: 27.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.969e-05/0.3401, allocations: 347.4 kB / 453.5 MB, free: 26.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/0.3414, allocations: 366 kB / 453.8 MB, free: 26.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.3429, allocations: 0.5812 MB / 454.4 MB, free: 26.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002727/0.3457, allocations: 0.9498 MB / 455.4 MB, free: 25.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.868e-06/0.3457, allocations: 2.094 kB / 455.4 MB, free: 25.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004402/0.3501, allocations: 1.359 MB / 456.7 MB, free: 25.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.3501, allocations: 7.938 kB / 456.7 MB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.3501, allocations: 7.172 kB / 456.8 MB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007686/0.3509, allocations: 219 kB / 457 MB, free: 25.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003299/0.3542, allocations: 0.8372 MB / 457.8 MB, free: 25.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/0.3649, allocations: 10.85 MB / 468.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009461/0.3659, allocations: 150 kB / 468.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.097e-05/0.3659, allocations: 39.52 kB / 468.8 MB, free: 15.89 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.000429/0.3664, allocations: 278 kB / 469.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.3665, allocations: 111.1 kB / 469.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/0.3667, allocations: 108.7 kB / 469.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.3667, allocations: 9 kB / 469.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.3667, allocations: 1.375 kB / 469.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.3667, allocations: 4.984 kB / 469.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004893/0.3716, allocations: 2.447 MB / 471.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.3716, allocations: 1.188 kB / 471.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005168/0.3721, allocations: 119.6 kB / 471.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00124/0.3734, allocations: 433 kB / 472.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/0.3734, allocations: 19.72 kB / 472.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009818/0.3832, allocations: 10.89 MB / 483.2 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3832, allocations: 1.281 kB / 483.2 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004097/0.3873, allocations: 1.932 MB / 485.2 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002359/0.3876, allocations: 198.4 kB / 485.4 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.643e-05/0.3877, allocations: 20.06 kB / 485.4 MB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007178/0.3884, allocations: 105.2 kB / 485.5 MB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.3885, allocations: 63.61 kB / 485.5 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/0.3886, allocations: 23.62 kB / 485.6 MB, free: 3.699 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006415/0.3892, allocations: 0.5538 MB / 486.1 MB, free: 3.387 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3892, allocations: 0 / 486.1 MB, free: 3.387 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001239/0.3904, allocations: 358.6 kB / 486.5 MB, free: 3.309 MB / 366.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.003987/0.3944, allocations: 2.516 MB / 489 MB, free: 1.703 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004956/0.3994, allocations: 1.95 MB / 490.9 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.3994, allocations: 5.812 kB / 490.9 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00135/0.4007, allocations: 1.14 MB / 492.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.4018, allocations: 202 kB / 492.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01637/0.4182, allocations: 9.275 MB / 0.4898 GB, free: 6.742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008461/0.419, allocations: 1.081 MB / 0.4909 GB, free: 5.633 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004421/0.4195, allocations: 100.6 kB / 0.491 GB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005172/0.42, allocations: 427.3 kB / 0.4914 GB, free: 5.117 MB / 382.1 MB Notification: Performance of SimCode: time 1.223e-06/0.42, allocations: 0 / 0.4914 GB, free: 5.117 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09696/0.5169, allocations: 24.18 MB / 0.515 GB, free: 13.22 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.61, allocations: 7.938 kB / 0.515 GB, free: 13.21 MB / 414.1 MB " [Timeout remaining time 645] (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 --stepSize=0.001 --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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.234331809915602]