Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001317/0.001317, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001428/0.001428, allocations: 212.7 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2418/0.2418, allocations: 46.94 MB / 360.8 MB, free: 3.914 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC|iLL|iL|vCC",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC|iLL|iL|vCC",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 79.88 kB / 0.4966 GB, free: 7.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3839, allocations: 66.09 MB / 0.5612 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008028/0.3919, allocations: 5.787 MB / 0.5668 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00457/0.3965, allocations: 2.13 MB / 0.5689 GB, free: 12 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000354/0.3969, allocations: 16 kB / 0.5689 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003658/0.4005, allocations: 1.407 MB / 0.5703 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.4024, allocations: 0.7059 MB / 0.571 GB, free: 9.863 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.4037, allocations: 0.5798 MB / 0.5716 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001357/0.4051, allocations: 1.167 MB / 0.5727 GB, free: 8.113 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.4064, allocations: 0.8506 MB / 0.5735 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006582/0.4071, allocations: 0.5098 MB / 0.574 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006808/0.4078, allocations: 0.5483 MB / 0.5746 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.4079, allocations: 108 kB / 0.5747 GB, free: 6.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005839/0.4085, allocations: 279.8 kB / 0.5749 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002403/0.4088, allocations: 255 kB / 0.5752 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004719/0.4092, allocations: 477.7 kB / 0.5756 GB, free: 5.078 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.411, allocations: 1.521 MB / 0.5771 GB, free: 3.551 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.411, allocations: 4 kB / 0.5771 GB, free: 3.547 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.411, allocations: 0 / 0.5771 GB, free: 3.547 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.4111, allocations: 0 / 0.5771 GB, free: 3.547 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004228/0.4153, allocations: 1.612 MB / 0.5787 GB, free: 1.898 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.4153, allocations: 8.031 kB / 0.5787 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00806/0.4234, allocations: 1.132 MB / 0.5798 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.4244, allocations: 480.3 kB / 0.5803 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.735e-05/0.4245, allocations: 90.7 kB / 0.5803 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/0.4247, allocations: 116.3 kB / 0.5805 GB, free: 60 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002736/0.4275, allocations: 1.456 MB / 0.5819 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.948e-05/0.4275, allocations: 0 / 0.5819 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.4276, allocations: 48 kB / 0.5819 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-05/0.4277, allocations: 28 kB / 0.582 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002936/0.4306, allocations: 1.421 MB / 0.5833 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007198/0.4378, allocations: 3.521 MB / 0.5868 GB, free: 9.395 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/0.4407, allocations: 1.013 MB / 0.5878 GB, free: 8.332 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008841/0.4416, allocations: 384.8 kB / 0.5881 GB, free: 7.938 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.4417, allocations: 27.97 kB / 0.5882 GB, free: 7.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.4418, allocations: 50.5 kB / 0.5882 GB, free: 7.852 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 3.366e-06/0.4418, allocations: 4 kB / 0.5882 GB, free: 7.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003255/0.445, allocations: 1.157 MB / 0.5893 GB, free: 6.684 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/0.4452, allocations: 247.3 kB / 0.5896 GB, free: 6.387 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005805/0.4458, allocations: 449.4 kB / 0.59 GB, free: 5.941 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.63e-05/0.4458, allocations: 41.7 kB / 0.59 GB, free: 5.895 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003625/0.4462, allocations: 488 kB / 0.5905 GB, free: 5.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002767/0.4465, allocations: 309.4 kB / 0.5908 GB, free: 5.105 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000306/0.4468, allocations: 198.8 kB / 0.591 GB, free: 4.906 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.447, allocations: 366.7 kB / 0.5913 GB, free: 4.539 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009201/0.4479, allocations: 386.4 kB / 0.5917 GB, free: 4.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.4491, allocations: 0.7105 MB / 0.5924 GB, free: 3.312 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/0.4512, allocations: 1.058 MB / 0.5934 GB, free: 2.137 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.4512, allocations: 4 kB / 0.5934 GB, free: 2.133 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002663/0.4539, allocations: 1.188 MB / 0.5946 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.4539, allocations: 8.812 kB / 0.5946 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.454, allocations: 8 kB / 0.5946 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/0.4541, allocations: 44.78 kB / 0.5947 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.4553, allocations: 287.5 kB / 0.5949 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.056e-05/0.4553, allocations: 15.94 kB / 0.595 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008918/0.4562, allocations: 147.1 kB / 0.5951 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-05/0.4563, allocations: 51.98 kB / 0.5951 GB, free: 388 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (129): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005255/0.4568, allocations: 257.5 kB / 0.5954 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/0.457, allocations: 63.62 kB / 0.5955 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/0.4595, allocations: 1.019 MB / 0.5964 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.4596, allocations: 15.94 kB / 0.5965 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.4596, allocations: 0 / 0.5965 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.4596, allocations: 7.984 kB / 0.5965 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004012/0.4636, allocations: 1.994 MB / 0.5984 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.4636, allocations: 7.984 kB / 0.5984 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009714/0.4646, allocations: 223.7 kB / 0.5986 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00011/0.4647, allocations: 24.84 kB / 0.5987 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.877e-05/0.4647, allocations: 27.92 kB / 0.5987 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.4647, allocations: 4 kB / 0.5987 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.4647, allocations: 4 kB / 0.5987 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003398/0.4681, allocations: 1.827 MB / 0.6005 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.4683, allocations: 67.45 kB / 0.6005 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.4684, allocations: 20 kB / 0.6006 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008169/0.4692, allocations: 59.94 kB / 0.6006 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/0.4694, allocations: 71.86 kB / 0.6007 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.286e-05/0.4695, allocations: 31.98 kB / 0.6007 GB, free: 10.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005056/0.47, allocations: 307.1 kB / 0.601 GB, free: 10.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.47, allocations: 0 / 0.601 GB, free: 10.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001365/0.4714, allocations: 311.1 kB / 0.6013 GB, free: 9.98 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (currentCurrent.pin_p.reference.gamma,constantSource.pin_p.reference.gamma,currentSource.currentSource.pin_p.reference.gamma,voltageSource.voltageSource.pin_p.reference.gamma) * 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 (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004048/0.4718, allocations: 147.1 kB / 0.6015 GB, free: 9.828 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002409/0.4742, allocations: 0.9047 MB / 0.6023 GB, free: 8.922 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4742, allocations: 0 / 0.6023 GB, free: 8.922 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.4753, allocations: 447.2 kB / 0.6028 GB, free: 8.484 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009731/0.4762, allocations: 105.2 kB / 0.6029 GB, free: 8.387 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003401/0.4796, allocations: 1.746 MB / 0.6046 GB, free: 6.594 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.4802, allocations: 389.6 kB / 0.6049 GB, free: 6.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005326/0.4807, allocations: 125.4 kB / 0.6051 GB, free: 6.055 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.4809, allocations: 83.41 kB / 0.6051 GB, free: 5.977 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4809, allocations: 0 / 0.6051 GB, free: 5.977 MB / 446.1 MB Notification: Performance of Templates: time 0.02104/0.502, allocations: 10.63 MB / 0.6155 GB, free: 11.45 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.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: 5.802660698071122]