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.002088/0.002088, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001789/0.001789, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.405/1.405, allocations: 230.6 MB / 258.3 MB, free: 8.012 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 51.91 kB / 378.6 MB, free: 3.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.247, allocations: 53.35 MB / 432 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009915/0.2569, allocations: 7.941 MB / 439.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004308/0.2612, allocations: 1.909 MB / 441.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.2623, allocations: 31.81 kB / 441.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006844/0.263, allocations: 241.7 kB / 442.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.2643, allocations: 456.2 kB / 442.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.2653, allocations: 0.4994 MB / 443 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002101/0.2674, allocations: 1.798 MB / 444.8 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006975/0.2681, allocations: 436.3 kB / 445.2 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007692/0.2689, allocations: 0.654 MB / 445.9 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009794/0.2699, allocations: 0.7194 MB / 446.6 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002544/0.2701, allocations: 180 kB / 446.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002524/0.2704, allocations: 180 kB / 447 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002916/0.2707, allocations: 350.8 kB / 447.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007718/0.2714, allocations: 0.7775 MB / 448.1 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002135/0.2736, allocations: 2.055 MB / 450.1 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2736, allocations: 0 / 450.1 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2736, allocations: 4 kB / 450.1 MB, free: 4.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.899e-05/0.2736, allocations: 0 / 450.1 MB, free: 4.562 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.003681/0.2773, allocations: 1.748 MB / 451.9 MB, free: 2.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.2773, allocations: 11.97 kB / 451.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.171e-05/0.2774, allocations: 34.64 kB / 451.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002189/0.2776, allocations: 189.9 kB / 452.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002792/0.2779, allocations: 160 kB / 452.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.2791, allocations: 0.7045 MB / 453 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-05/0.2792, allocations: 90.45 kB / 453.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.2793, allocations: 120 kB / 453.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002572/0.2819, allocations: 1.312 MB / 454.5 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.2819, allocations: 0 / 454.5 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.282, allocations: 59.94 kB / 454.6 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.941e-05/0.2821, allocations: 28.05 kB / 454.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/0.2847, allocations: 1.115 MB / 455.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008364/0.293, allocations: 4.864 MB / 460.6 MB, free: 9.785 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002479/0.2955, allocations: 0.9948 MB / 461.6 MB, free: 8.766 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/0.2967, allocations: 486 kB / 462 MB, free: 8.289 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.733e-05/0.2967, allocations: 16.64 kB / 462.1 MB, free: 8.273 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.602e-05/0.2968, allocations: 51.16 kB / 462.1 MB, free: 8.215 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.345e-06/0.2968, allocations: 0 / 462.1 MB, free: 8.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.00867/0.3055, allocations: 2.477 MB / 464.6 MB, free: 5.711 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.3056, allocations: 93.64 kB / 464.7 MB, free: 5.602 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.3067, allocations: 0.8059 MB / 465.5 MB, free: 4.789 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.342e-05/0.3068, allocations: 41.7 kB / 465.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004696/0.3072, allocations: 0.6014 MB / 466.1 MB, free: 4.133 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.3075, allocations: 301.5 kB / 466.4 MB, free: 3.836 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00027/0.3078, allocations: 166.6 kB / 466.6 MB, free: 3.668 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3079, allocations: 349.8 kB / 466.9 MB, free: 3.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009321/0.3089, allocations: 369.8 kB / 467.3 MB, free: 2.957 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.31, allocations: 0.5863 MB / 467.9 MB, free: 2.285 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/0.312, allocations: 0.952 MB / 468.8 MB, free: 1.246 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.312, allocations: 4 kB / 468.8 MB, free: 1.242 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003271/0.3152, allocations: 1.347 MB / 470.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.3153, allocations: 12.3 kB / 470.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.3153, allocations: 8.078 kB / 470.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008369/0.3161, allocations: 226.4 kB / 470.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003654/0.3198, allocations: 0.835 MB / 471.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01442/0.3342, allocations: 10.22 MB / 481.5 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/0.3352, allocations: 147.2 kB / 481.6 MB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.021e-05/0.3353, allocations: 40 kB / 481.7 MB, free: 3.695 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.0005094/0.3358, allocations: 273.8 kB / 481.9 MB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.336, allocations: 111.3 kB / 482 MB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.3362, allocations: 108.9 kB / 482.1 MB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.547e-06/0.3362, allocations: 8 kB / 482.1 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.3362, allocations: 7.938 kB / 482.2 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.3362, allocations: 3.984 kB / 482.2 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005372/0.3416, allocations: 2.41 MB / 484.6 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.3416, allocations: 7.938 kB / 484.6 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005414/0.3421, allocations: 119.9 kB / 484.7 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001386/0.3435, allocations: 420.9 kB / 485.1 MB, free: 144 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-05/0.3436, allocations: 23.97 kB / 485.1 MB, free: 120 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01372/0.3573, allocations: 10.29 MB / 495.4 MB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3573, allocations: 8.094 kB / 495.4 MB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005163/0.3625, allocations: 1.925 MB / 497.3 MB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003188/0.3628, allocations: 119.2 kB / 497.5 MB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.3629, allocations: 16.25 kB / 497.5 MB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008084/0.3637, allocations: 103.9 kB / 497.6 MB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/0.3639, allocations: 68.47 kB / 497.6 MB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.678e-05/0.3639, allocations: 32 kB / 497.7 MB, free: 2.836 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008271/0.3648, allocations: 0.5459 MB / 498.2 MB, free: 2.293 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3648, allocations: 0 / 498.2 MB, free: 2.293 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001288/0.3661, allocations: 363.3 kB / 498.6 MB, free: 1.938 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.005246/0.3713, allocations: 2.512 MB / 0.4893 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006241/0.3775, allocations: 1.952 MB / 0.4913 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.3776, allocations: 0 / 0.4913 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001828/0.3794, allocations: 1.145 MB / 0.4924 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.3806, allocations: 208.3 kB / 0.4926 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/0.3984, allocations: 9.265 MB / 0.5016 GB, free: 2.375 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007899/0.3992, allocations: 1.078 MB / 0.5027 GB, free: 1.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004373/0.3996, allocations: 99.48 kB / 0.5028 GB, free: 1.168 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005535/0.4002, allocations: 431.3 kB / 0.5032 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4002, allocations: 0 / 0.5032 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0703/0.4705, allocations: 24.94 MB / 0.5275 GB, free: 8.098 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.47/14.94, allocations: 14.05 kB / 0.5275 GB, free: 8.086 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.664976935018785]