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.001714/0.001714, allocations: 112.2 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.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.002005/0.002005, allocations: 180.5 kB / 23.72 MB, free: 4.699 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.387/1.387, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.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.00157/0.00157, allocations: 51.92 kB / 370.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.258, allocations: 52.18 MB / 422.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.00939/0.2674, allocations: 7.916 MB / 430.6 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004515/0.2719, allocations: 1.882 MB / 432.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.273, allocations: 31.81 kB / 432.5 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006354/0.2736, allocations: 237.7 kB / 432.7 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.2749, allocations: 456.2 kB / 433.2 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.2761, allocations: 0.4994 MB / 433.7 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002202/0.2783, allocations: 1.794 MB / 435.5 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007037/0.279, allocations: 444.3 kB / 435.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008516/0.2799, allocations: 0.654 MB / 436.6 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009144/0.2808, allocations: 0.7195 MB / 437.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002253/0.281, allocations: 183.9 kB / 437.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000234/0.2812, allocations: 184 kB / 437.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002913/0.2815, allocations: 354.8 kB / 438 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007227/0.2822, allocations: 0.7737 MB / 438.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002038/0.2843, allocations: 2.051 MB / 440.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2843, allocations: 0 / 440.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.2843, allocations: 0 / 440.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.468e-05/0.2843, allocations: 0 / 440.8 MB, free: 12.36 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.003479/0.2878, allocations: 1.759 MB / 442.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2878, allocations: 11.97 kB / 442.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002273/0.2881, allocations: 186 kB / 442.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002428/0.2883, allocations: 160 kB / 442.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.2895, allocations: 0.6891 MB / 443.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.074e-05/0.2896, allocations: 94.39 kB / 443.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.2898, allocations: 120 kB / 443.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/0.2922, allocations: 1.309 MB / 445.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.2923, allocations: 7.938 kB / 445.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.2924, allocations: 52 kB / 445.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.468e-05/0.2924, allocations: 28 kB / 445.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002526/0.2949, allocations: 1.118 MB / 446.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008042/0.303, allocations: 4.863 MB / 451.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002413/0.3054, allocations: 1.006 MB / 452.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.3065, allocations: 482.2 kB / 452.7 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.486e-05/0.3065, allocations: 20.62 kB / 452.7 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.287e-05/0.3066, allocations: 47.16 kB / 452.7 MB, free: 44 kB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.445e-06/0.3066, allocations: 0 / 452.7 MB, free: 44 kB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.008332/0.3149, allocations: 2.473 MB / 455.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.675e-05/0.315, allocations: 89.7 kB / 455.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.3163, allocations: 0.8059 MB / 456.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.71e-05/0.3164, allocations: 45.7 kB / 456.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000469/0.3168, allocations: 0.6014 MB / 456.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/0.3171, allocations: 301.4 kB / 457 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.3173, allocations: 166.6 kB / 457.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3175, allocations: 349.9 kB / 457.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008912/0.3184, allocations: 361.8 kB / 457.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.3195, allocations: 0.5894 MB / 458.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.3214, allocations: 0.9481 MB / 459.4 MB, free: 9.082 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.3214, allocations: 4 kB / 459.4 MB, free: 9.078 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003202/0.3246, allocations: 1.354 MB / 460.8 MB, free: 7.707 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.3246, allocations: 11.98 kB / 460.8 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.3246, allocations: 8 kB / 460.8 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008139/0.3254, allocations: 222.8 kB / 461 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003436/0.3289, allocations: 0.835 MB / 461.9 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0138/0.3427, allocations: 10.24 MB / 472.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.3437, allocations: 155.2 kB / 472.3 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-05/0.3437, allocations: 40 kB / 472.3 MB, free: 11.52 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.0004998/0.3442, allocations: 273.5 kB / 472.6 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.3444, allocations: 107.4 kB / 472.7 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.3446, allocations: 108.8 kB / 472.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.3446, allocations: 8 kB / 472.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.3446, allocations: 0 / 472.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.3446, allocations: 3.984 kB / 472.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005099/0.3497, allocations: 2.414 MB / 475.2 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3497, allocations: 4 kB / 475.2 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005362/0.3503, allocations: 123.8 kB / 475.3 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001354/0.3516, allocations: 432.8 kB / 475.7 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.848e-05/0.3517, allocations: 23.92 kB / 475.8 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/0.3648, allocations: 10.27 MB / 486 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.3648, allocations: 4.031 kB / 486 MB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004853/0.3696, allocations: 1.933 MB / 488 MB, free: 11 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003361/0.37, allocations: 111.3 kB / 488.1 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.3701, allocations: 19.98 kB / 488.1 MB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000791/0.3709, allocations: 99.86 kB / 488.2 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.371, allocations: 76.47 kB / 488.3 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.886e-05/0.3711, allocations: 20 kB / 488.3 MB, free: 10.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007703/0.3719, allocations: 0.5498 MB / 488.8 MB, free: 10.13 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3719, allocations: 4 kB / 488.8 MB, free: 10.13 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001322/0.3732, allocations: 363.2 kB / 489.2 MB, free: 9.773 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.004875/0.3781, allocations: 2.509 MB / 491.7 MB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005755/0.3838, allocations: 1.952 MB / 493.7 MB, free: 5.215 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3838, allocations: 1.062 kB / 493.7 MB, free: 5.215 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001816/0.3856, allocations: 1.132 MB / 494.8 MB, free: 4.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.3868, allocations: 218.2 kB / 495 MB, free: 3.801 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01654/0.4034, allocations: 9.262 MB / 0.4925 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008269/0.4042, allocations: 1.078 MB / 0.4935 GB, free: 9.113 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000429/0.4046, allocations: 107.5 kB / 0.4936 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005277/0.4051, allocations: 427.3 kB / 0.494 GB, free: 8.586 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4051, allocations: 0 / 0.494 GB, free: 8.586 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07508/0.4802, allocations: 24.92 MB / 0.5183 GB, free: 15.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/15.17, allocations: 7.25 kB / 0.5184 GB, free: 15.94 MB / 446.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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.59075760282576]