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.001253/0.001253, allocations: 123.9 kB / 18.46 MB, free: 4.461 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.001313/0.001313, allocations: 205.8 kB / 21.41 MB, free: 1.516 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.448/1.448, allocations: 227.5 MB / 251.7 MB, free: 44 kB / 190.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.2325/0.2325, allocations: 46.14 MB / 351.1 MB, free: 14.27 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002198, allocations: 76.2 kB / 489.7 MB, free: 28.36 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1189, allocations: 62.46 MB / 0.5392 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008515/0.1275, allocations: 6.546 MB / 0.5456 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004595/0.1321, allocations: 2.255 MB / 0.5478 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006329/0.1328, allocations: 20 kB / 0.5478 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003416/0.1362, allocations: 1.535 MB / 0.5493 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002042/0.1383, allocations: 0.6938 MB / 0.55 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.1397, allocations: 0.5917 MB / 0.5506 GB, free: 9.051 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00151/0.1412, allocations: 1.182 MB / 0.5517 GB, free: 7.863 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00144/0.1426, allocations: 0.938 MB / 0.5527 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007434/0.1434, allocations: 0.5021 MB / 0.5531 GB, free: 6.395 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007216/0.1441, allocations: 0.6186 MB / 0.5537 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.1443, allocations: 108 kB / 0.5539 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006721/0.145, allocations: 287.8 kB / 0.5541 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.1452, allocations: 259 kB / 0.5544 GB, free: 5.133 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005403/0.1458, allocations: 0.5598 MB / 0.5549 GB, free: 4.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001906/0.1477, allocations: 1.514 MB / 0.5564 GB, free: 3.051 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1477, allocations: 0 / 0.5564 GB, free: 3.051 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1477, allocations: 0 / 0.5564 GB, free: 3.051 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.507e-05/0.1477, allocations: 0 / 0.5564 GB, free: 3.051 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.004465/0.1522, allocations: 1.692 MB / 0.558 GB, free: 1.305 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.1523, allocations: 8.031 kB / 0.5581 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002782/0.1525, allocations: 187.8 kB / 0.5582 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008442/0.161, allocations: 1.128 MB / 0.5593 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.1623, allocations: 0.5299 MB / 0.5599 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-05/0.1624, allocations: 90.73 kB / 0.5599 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/0.1627, allocations: 116.4 kB / 0.5601 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002704/0.1654, allocations: 1.368 MB / 0.5614 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.08e-05/0.1654, allocations: 3.938 kB / 0.5614 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.1656, allocations: 48 kB / 0.5614 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.99e-05/0.1656, allocations: 28 kB / 0.5615 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003067/0.1687, allocations: 1.441 MB / 0.5629 GB, free: 12.26 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00828/0.177, allocations: 5.647 MB / 0.5684 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003584/0.1806, allocations: 2.144 MB / 0.5705 GB, free: 3.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000942/0.1816, allocations: 428.8 kB / 0.5709 GB, free: 3.223 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001978/0.1818, allocations: 190.2 kB / 0.5711 GB, free: 3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.1818, allocations: 42.56 kB / 0.5711 GB, free: 2.949 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 4.509e-06/0.1818, allocations: 3.938 kB / 0.5711 GB, free: 2.945 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.00332/0.1852, allocations: 1.257 MB / 0.5723 GB, free: 1.664 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/0.1853, allocations: 247.2 kB / 0.5726 GB, free: 1.367 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007363/0.1861, allocations: 0.5644 MB / 0.5731 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.036e-05/0.1861, allocations: 41.7 kB / 0.5732 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003607/0.1865, allocations: 480 kB / 0.5736 GB, free: 272 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/0.1868, allocations: 309.6 kB / 0.5739 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/0.1871, allocations: 194.8 kB / 0.5741 GB, free: 15.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.1873, allocations: 378.8 kB / 0.5745 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009585/0.1883, allocations: 378.4 kB / 0.5748 GB, free: 15.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.1895, allocations: 0.6642 MB / 0.5755 GB, free: 14.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002168/0.1917, allocations: 1.058 MB / 0.5765 GB, free: 13.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.1917, allocations: 0 / 0.5765 GB, free: 13.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002811/0.1945, allocations: 1.208 MB / 0.5777 GB, free: 11.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.1945, allocations: 11.75 kB / 0.5777 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/0.1946, allocations: 12 kB / 0.5777 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001686/0.1947, allocations: 32.84 kB / 0.5777 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.1959, allocations: 292.1 kB / 0.578 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.639e-05/0.1959, allocations: 19.92 kB / 0.578 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009206/0.1969, allocations: 147.1 kB / 0.5782 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.584e-05/0.197, allocations: 55.97 kB / 0.5782 GB, free: 11.27 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 (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.0004184/0.1974, allocations: 261.5 kB / 0.5785 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/0.1976, allocations: 75.52 kB / 0.5786 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/0.2001, allocations: 1.026 MB / 0.5796 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.2002, allocations: 8 kB / 0.5796 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.2002, allocations: 4 kB / 0.5796 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.2002, allocations: 3.984 kB / 0.5796 GB, free: 9.883 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00423/0.2044, allocations: 2.33 MB / 0.5819 GB, free: 7.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.2045, allocations: 0 / 0.5819 GB, free: 7.492 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009684/0.2054, allocations: 215.7 kB / 0.5821 GB, free: 7.281 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001106/0.2056, allocations: 28.78 kB / 0.5821 GB, free: 7.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.235e-05/0.2056, allocations: 31.92 kB / 0.5821 GB, free: 7.219 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.014e-06/0.2056, allocations: 4 kB / 0.5821 GB, free: 7.215 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2056, allocations: 0 / 0.5821 GB, free: 7.215 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003398/0.209, allocations: 1.845 MB / 0.5839 GB, free: 5.344 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002172/0.2093, allocations: 156.5 kB / 0.5841 GB, free: 5.172 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.2094, allocations: 23.94 kB / 0.5841 GB, free: 5.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008049/0.2102, allocations: 67.92 kB / 0.5842 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.2104, allocations: 67.84 kB / 0.5842 GB, free: 5.016 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.281e-05/0.2105, allocations: 35.98 kB / 0.5843 GB, free: 4.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005126/0.211, allocations: 398.8 kB / 0.5846 GB, free: 4.594 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.211, allocations: 0 / 0.5846 GB, free: 4.594 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001099/0.2121, allocations: 291.3 kB / 0.5849 GB, free: 4.309 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 (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.003879/0.216, allocations: 2.439 MB / 0.5873 GB, free: 1.836 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002443/0.2185, allocations: 1.034 MB / 0.5883 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.2185, allocations: 0 / 0.5883 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.2197, allocations: 0.549 MB / 0.5888 GB, free: 220 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.2207, allocations: 106.6 kB / 0.5889 GB, free: 120 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/0.2334, allocations: 7.876 MB / 0.5966 GB, free: 7.891 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006574/0.2341, allocations: 0.984 MB / 0.5976 GB, free: 6.879 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005693/0.2347, allocations: 138.2 kB / 0.5977 GB, free: 6.742 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005394/0.2353, allocations: 371.3 kB / 0.5981 GB, free: 6.379 MB / 462.1 MB Notification: Performance of SimCode: time 2.335e-06/0.2353, allocations: 0 / 0.5981 GB, free: 6.379 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3211/0.5563, allocations: 17.18 MB / 0.6149 GB, free: 60.69 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.71, allocations: 6.25 kB / 0.6149 GB, free: 60.68 MB / 462.1 MB " [Timeout remaining time 648] (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.0.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: 14.932063746033236]