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.001339/0.001339, allocations: 120.2 kB / 18.49 MB, free: 4.559 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.001364/0.001364, allocations: 214.2 kB / 21.46 MB, free: 1.605 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.446/1.446, allocations: 230.4 MB / 254.7 MB, free: 15.21 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.2344/0.2344, allocations: 46.91 MB / 357.7 MB, free: 10.22 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 83.88 kB / 0.4917 GB, free: 7.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1226, allocations: 66.04 MB / 0.5561 GB, free: 5.602 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008336/0.1309, allocations: 6.586 MB / 0.5626 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004223/0.1351, allocations: 2.263 MB / 0.5648 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000444/0.1356, allocations: 24 kB / 0.5648 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003341/0.1389, allocations: 1.535 MB / 0.5663 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.1408, allocations: 0.7056 MB / 0.567 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.1421, allocations: 0.6003 MB / 0.5676 GB, free: 9.836 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001582/0.1437, allocations: 1.171 MB / 0.5687 GB, free: 8.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.145, allocations: 0.7194 MB / 0.5694 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.1462, allocations: 0.5099 MB / 0.5699 GB, free: 7.402 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.1474, allocations: 0.6185 MB / 0.5705 GB, free: 6.781 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002658/0.1477, allocations: 112 kB / 0.5706 GB, free: 6.672 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008186/0.1485, allocations: 283.8 kB / 0.5709 GB, free: 6.395 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002577/0.1487, allocations: 259 kB / 0.5712 GB, free: 6.141 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008282/0.1496, allocations: 0.5598 MB / 0.5717 GB, free: 5.578 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002424/0.152, allocations: 1.521 MB / 0.5732 GB, free: 4.051 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.152, allocations: 0 / 0.5732 GB, free: 4.051 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.152, allocations: 0 / 0.5732 GB, free: 4.051 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.788e-05/0.152, allocations: 0 / 0.5732 GB, free: 4.051 MB / 430.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.005189/0.1572, allocations: 1.688 MB / 0.5748 GB, free: 2.309 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.1573, allocations: 12.03 kB / 0.5748 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.312e-05/0.1574, allocations: 33.8 kB / 0.5749 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002945/0.1577, allocations: 192 kB / 0.5751 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008722/0.1664, allocations: 1.132 MB / 0.5762 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.1677, allocations: 0.5454 MB / 0.5767 GB, free: 348 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.1678, allocations: 86.77 kB / 0.5768 GB, free: 260 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003999/0.1682, allocations: 124.3 kB / 0.5769 GB, free: 136 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003651/0.1718, allocations: 1.38 MB / 0.5782 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.917e-05/0.1719, allocations: 0 / 0.5782 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/0.1721, allocations: 51.98 kB / 0.5783 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.1721, allocations: 28 kB / 0.5783 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003545/0.1756, allocations: 1.449 MB / 0.5797 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01005/0.1857, allocations: 5.71 MB / 0.5853 GB, free: 6.973 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003777/0.1895, allocations: 2.135 MB / 0.5874 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.1905, allocations: 408.9 kB / 0.5878 GB, free: 4.105 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002164/0.1907, allocations: 191.1 kB / 0.588 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/0.1907, allocations: 54.5 kB / 0.588 GB, free: 3.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=92): time 2.986e-06/0.1907, allocations: 0 / 0.588 GB, free: 3.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.2517/0.4424, allocations: 4.511 MB / 0.5924 GB, free: 33.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.4425, allocations: 246.6 kB / 0.5927 GB, free: 33.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006983/0.4432, allocations: 0.5601 MB / 0.5932 GB, free: 33.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.067e-05/0.4433, allocations: 45.05 kB / 0.5933 GB, free: 33.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.4435, allocations: 480.6 kB / 0.5937 GB, free: 33.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002844/0.4438, allocations: 414.9 kB / 0.5941 GB, free: 32.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004528/0.4443, allocations: 242.5 kB / 0.5943 GB, free: 32.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.4444, allocations: 387.1 kB / 0.5947 GB, free: 32.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/0.4462, allocations: 0.6065 MB / 0.5953 GB, free: 32.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/0.4481, allocations: 0.9128 MB / 0.5962 GB, free: 32.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003649/0.4517, allocations: 1.538 MB / 0.5977 GB, free: 31.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.4517, allocations: 6.719 kB / 0.5977 GB, free: 31.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004508/0.4562, allocations: 1.755 MB / 0.5994 GB, free: 31.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.4563, allocations: 10.19 kB / 0.5994 GB, free: 31.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.4563, allocations: 8.594 kB / 0.5994 GB, free: 31.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002573/0.4565, allocations: 69.09 kB / 0.5995 GB, free: 31.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/0.4585, allocations: 427.7 kB / 0.5999 GB, free: 31.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.762e-05/0.4585, allocations: 24.3 kB / 0.5999 GB, free: 31.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.4598, allocations: 132.7 kB / 0.6001 GB, free: 31.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.4599, allocations: 66.28 kB / 0.6001 GB, free: 31.2 MB / 446.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 (160): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003985/0.4603, allocations: 277.4 kB / 0.6004 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/0.4606, allocations: 84.11 kB / 0.6005 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004459/0.465, allocations: 1.636 MB / 0.6021 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.465, allocations: 14.11 kB / 0.6021 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.465, allocations: 3.094 kB / 0.6021 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.4651, allocations: 6.859 kB / 0.6021 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006287/0.4714, allocations: 3.164 MB / 0.6052 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4714, allocations: 1.75 kB / 0.6052 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001656/0.473, allocations: 351.5 kB / 0.6055 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001978/0.4732, allocations: 63.78 kB / 0.6056 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-05/0.4733, allocations: 39.45 kB / 0.6056 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/0.4733, allocations: 6.688 kB / 0.6056 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4733, allocations: 5.5 kB / 0.6056 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005796/0.4791, allocations: 2.708 MB / 0.6083 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.4793, allocations: 161.5 kB / 0.6084 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.4794, allocations: 26.31 kB / 0.6084 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/0.4807, allocations: 130 kB / 0.6086 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/0.4809, allocations: 93.72 kB / 0.6087 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.71e-05/0.481, allocations: 43.27 kB / 0.6087 GB, free: 27.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004381/0.4814, allocations: 407.6 kB / 0.6091 GB, free: 27.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4814, allocations: 1.312 kB / 0.6091 GB, free: 27.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001153/0.4826, allocations: 291.2 kB / 0.6094 GB, free: 27.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (currentSource.currentSource.pin_p.reference.gamma,voltageSource.voltageSource.pin_p.reference.gamma,currentCurrent.pin_p.reference.gamma,constantSource.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 (124): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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.00611/0.4887, allocations: 3.316 MB / 0.6126 GB, free: 25.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004227/0.4929, allocations: 1.609 MB / 0.6142 GB, free: 24.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.4929, allocations: 1.188 kB / 0.6142 GB, free: 24.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001952/0.4949, allocations: 0.8784 MB / 0.615 GB, free: 24.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.4959, allocations: 118.1 kB / 0.6151 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/0.5115, allocations: 9.76 MB / 0.6247 GB, free: 18.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.5119, allocations: 1.02 MB / 0.6257 GB, free: 17.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006463/0.5125, allocations: 178.3 kB / 0.6258 GB, free: 17.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005572/0.5131, allocations: 432.1 kB / 0.6263 GB, free: 17.36 MB / 446.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5131, allocations: 0 / 0.6263 GB, free: 17.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03773/0.5508, allocations: 21.36 MB / 0.6471 GB, free: 12.91 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.88/17.44, allocations: 4.062 kB / 0.6471 GB, free: 12.91 MB / 462.1 MB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/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: 20.949856246006675]