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.001773/0.001773, allocations: 118 kB / 18.45 MB, free: 4.594 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.002204/0.002204, allocations: 211.4 kB / 21.41 MB, free: 1.645 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.496/1.496, allocations: 227.5 MB / 251.7 MB, free: 48 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.2301/0.2301, allocations: 46.13 MB / 351.1 MB, free: 14.28 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.003524/0.003524, allocations: 85.09 kB / 489.7 MB, free: 28.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1482, allocations: 62.45 MB / 0.5392 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008676/0.1569, allocations: 6.557 MB / 0.5456 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004897/0.1619, allocations: 2.259 MB / 0.5478 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007411/0.1627, allocations: 20 kB / 0.5478 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003493/0.1662, allocations: 1.522 MB / 0.5493 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002149/0.1684, allocations: 0.7082 MB / 0.55 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.1698, allocations: 0.594 MB / 0.5506 GB, free: 9.062 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001628/0.1714, allocations: 1.17 MB / 0.5517 GB, free: 7.887 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/0.173, allocations: 0.9419 MB / 0.5527 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008123/0.1738, allocations: 0.4982 MB / 0.5531 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000755/0.1746, allocations: 0.6186 MB / 0.5538 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.1747, allocations: 108 kB / 0.5539 GB, free: 5.691 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006859/0.1754, allocations: 291.8 kB / 0.5541 GB, free: 5.406 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.1757, allocations: 255.1 kB / 0.5544 GB, free: 5.156 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005552/0.1762, allocations: 0.5558 MB / 0.5549 GB, free: 4.598 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.1781, allocations: 1.518 MB / 0.5564 GB, free: 3.074 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1781, allocations: 4 kB / 0.5564 GB, free: 3.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1781, allocations: 0 / 0.5564 GB, free: 3.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.972e-05/0.1782, allocations: 0 / 0.5564 GB, free: 3.07 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.004589/0.1828, allocations: 1.684 MB / 0.558 GB, free: 1.332 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.1828, allocations: 12.03 kB / 0.5581 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002802/0.1831, allocations: 199.8 kB / 0.5582 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008512/0.1916, allocations: 1.122 MB / 0.5593 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.193, allocations: 0.5299 MB / 0.5599 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.268e-05/0.193, allocations: 90.73 kB / 0.5599 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/0.1933, allocations: 112.4 kB / 0.5601 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002785/0.196, allocations: 1.366 MB / 0.5614 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/0.1961, allocations: 3.953 kB / 0.5614 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.1962, allocations: 59.98 kB / 0.5615 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.738e-05/0.1963, allocations: 28 kB / 0.5615 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003074/0.1994, allocations: 1.429 MB / 0.5629 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008181/0.2076, allocations: 5.651 MB / 0.5684 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003753/0.2113, allocations: 2.146 MB / 0.5705 GB, free: 3.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.2124, allocations: 432.7 kB / 0.5709 GB, free: 3.238 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002068/0.2126, allocations: 190.2 kB / 0.5711 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.2127, allocations: 46.5 kB / 0.5711 GB, free: 2.961 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.705e-06/0.2127, allocations: 0 / 0.5711 GB, free: 2.961 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003408/0.2161, allocations: 1.243 MB / 0.5723 GB, free: 1.691 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/0.2163, allocations: 247.4 kB / 0.5726 GB, free: 1.395 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007475/0.217, allocations: 0.5682 MB / 0.5731 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.253e-05/0.2171, allocations: 37.7 kB / 0.5732 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003408/0.2174, allocations: 484 kB / 0.5736 GB, free: 296 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/0.2178, allocations: 305.5 kB / 0.5739 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003146/0.2181, allocations: 194.8 kB / 0.5741 GB, free: 15.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.2183, allocations: 378.7 kB / 0.5745 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.2193, allocations: 382.4 kB / 0.5748 GB, free: 15.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/0.2206, allocations: 0.6642 MB / 0.5755 GB, free: 14.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/0.2229, allocations: 1.066 MB / 0.5765 GB, free: 13.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.2229, allocations: 4 kB / 0.5765 GB, free: 13.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00296/0.2259, allocations: 1.196 MB / 0.5777 GB, free: 11.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.2259, allocations: 8.812 kB / 0.5777 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.226, allocations: 8 kB / 0.5777 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/0.2262, allocations: 44.84 kB / 0.5778 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.2273, allocations: 283.5 kB / 0.578 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.72e-05/0.2274, allocations: 23.92 kB / 0.578 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.2284, allocations: 151.1 kB / 0.5782 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.511e-05/0.2285, allocations: 51.92 kB / 0.5782 GB, free: 11.29 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.0005504/0.2291, allocations: 257.5 kB / 0.5785 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003093/0.2294, allocations: 71.53 kB / 0.5786 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002829/0.2322, allocations: 1.026 MB / 0.5796 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.2323, allocations: 12 kB / 0.5796 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.2323, allocations: 3.938 kB / 0.5796 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/0.2323, allocations: 7.984 kB / 0.5796 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004924/0.2372, allocations: 2.319 MB / 0.5818 GB, free: 7.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.2373, allocations: 4 kB / 0.5818 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.2383, allocations: 219.7 kB / 0.5821 GB, free: 7.309 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001336/0.2385, allocations: 28.84 kB / 0.5821 GB, free: 7.277 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.267e-05/0.2386, allocations: 27.92 kB / 0.5821 GB, free: 7.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.017e-05/0.2386, allocations: 7.984 kB / 0.5821 GB, free: 7.242 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.2386, allocations: 4 kB / 0.5821 GB, free: 7.238 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003519/0.2421, allocations: 1.837 MB / 0.5839 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002664/0.2424, allocations: 164.5 kB / 0.5841 GB, free: 5.195 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.2426, allocations: 20 kB / 0.5841 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008256/0.2434, allocations: 63.94 kB / 0.5842 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/0.2436, allocations: 79.72 kB / 0.5842 GB, free: 5.035 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-05/0.2437, allocations: 31.98 kB / 0.5843 GB, free: 5.004 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005683/0.2442, allocations: 398.8 kB / 0.5846 GB, free: 4.617 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2443, allocations: 0 / 0.5846 GB, free: 4.617 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001159/0.2454, allocations: 295.4 kB / 0.5849 GB, free: 4.328 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.004137/0.2496, allocations: 2.433 MB / 0.5873 GB, free: 1.859 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00255/0.2521, allocations: 1.038 MB / 0.5883 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.2522, allocations: 0 / 0.5883 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.2533, allocations: 0.5403 MB / 0.5888 GB, free: 252 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.2544, allocations: 119.4 kB / 0.589 GB, free: 140 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/0.2684, allocations: 7.872 MB / 0.5966 GB, free: 7.914 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008358/0.2693, allocations: 0.9801 MB / 0.5976 GB, free: 6.906 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006064/0.2699, allocations: 138.1 kB / 0.5977 GB, free: 6.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005536/0.2705, allocations: 371.3 kB / 0.5981 GB, free: 6.406 MB / 462.1 MB Notification: Performance of SimCode: time 1.011e-06/0.2705, allocations: 0 / 0.5981 GB, free: 6.406 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2971/0.5676, allocations: 17.18 MB / 0.6149 GB, free: 60.89 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.84, allocations: 9.266 kB / 0.6149 GB, free: 60.88 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/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: 15.159334369003773]