Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002119/0.002119, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2334/0.2334, allocations: 46.93 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 67.89 kB / 0.4909 GB, free: 7.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1198, allocations: 66 MB / 0.5554 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008882/0.1287, allocations: 6.576 MB / 0.5618 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004778/0.1334, allocations: 2.274 MB / 0.564 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009607/0.1344, allocations: 20 kB / 0.564 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003988/0.1384, allocations: 1.528 MB / 0.5655 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00258/0.141, allocations: 0.7148 MB / 0.5662 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.1426, allocations: 0.5995 MB / 0.5668 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002142/0.1448, allocations: 1.174 MB / 0.568 GB, free: 8.867 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/0.1463, allocations: 0.7195 MB / 0.5687 GB, free: 8.117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000942/0.1472, allocations: 0.506 MB / 0.5692 GB, free: 7.609 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.1483, allocations: 0.6264 MB / 0.5698 GB, free: 6.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003467/0.1486, allocations: 104 kB / 0.5699 GB, free: 6.879 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.1497, allocations: 291.8 kB / 0.5701 GB, free: 6.594 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003293/0.15, allocations: 263 kB / 0.5704 GB, free: 6.336 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008338/0.1508, allocations: 0.5558 MB / 0.5709 GB, free: 5.777 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002336/0.1532, allocations: 1.514 MB / 0.5724 GB, free: 4.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1532, allocations: 0 / 0.5724 GB, free: 4.258 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1532, allocations: 0 / 0.5724 GB, free: 4.258 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.64e-05/0.1532, allocations: 0 / 0.5724 GB, free: 4.258 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.005717/0.1589, allocations: 1.688 MB / 0.5741 GB, free: 2.516 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.159, allocations: 12.03 kB / 0.5741 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004746/0.1595, allocations: 179.9 kB / 0.5742 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009097/0.1686, allocations: 1.132 MB / 0.5754 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.1698, allocations: 0.5415 MB / 0.5759 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.1699, allocations: 86.73 kB / 0.576 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003418/0.1702, allocations: 120.4 kB / 0.5761 GB, free: 404 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003137/0.1734, allocations: 1.36 MB / 0.5774 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.642e-05/0.1734, allocations: 7.984 kB / 0.5774 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.1736, allocations: 44 kB / 0.5775 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/0.1736, allocations: 32 kB / 0.5775 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003211/0.1768, allocations: 1.429 MB / 0.5789 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008547/0.1854, allocations: 5.651 MB / 0.5844 GB, free: 7.324 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003637/0.189, allocations: 2.073 MB / 0.5864 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.19, allocations: 392.7 kB / 0.5868 GB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002336/0.1902, allocations: 194.3 kB / 0.587 GB, free: 4.309 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.304e-05/0.1903, allocations: 50.5 kB / 0.587 GB, free: 4.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 2.505e-06/0.1903, allocations: 0 / 0.587 GB, free: 4.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=84): time 0.003637/0.1939, allocations: 1.251 MB / 0.5883 GB, free: 2.977 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00019/0.1941, allocations: 247.3 kB / 0.5885 GB, free: 2.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008446/0.195, allocations: 0.5644 MB / 0.589 GB, free: 2.102 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.307e-05/0.195, allocations: 41.7 kB / 0.5891 GB, free: 2.055 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003683/0.1954, allocations: 476 kB / 0.5895 GB, free: 1.582 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/0.1957, allocations: 301.4 kB / 0.5898 GB, free: 1.285 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003375/0.196, allocations: 202.8 kB / 0.59 GB, free: 1.082 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.1962, allocations: 374.8 kB / 0.5904 GB, free: 0.707 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.1973, allocations: 378.4 kB / 0.5907 GB, free: 344 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3069/0.5042, allocations: 0.6629 MB / 0.5914 GB, free: 33.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002097/0.5063, allocations: 1.063 MB / 0.5924 GB, free: 32.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.5063, allocations: 3.219 kB / 0.5924 GB, free: 32.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003216/0.5095, allocations: 1.193 MB / 0.5936 GB, free: 32.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.5095, allocations: 15.75 kB / 0.5936 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.5095, allocations: 8.469 kB / 0.5936 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001916/0.5097, allocations: 40.89 kB / 0.5937 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.511, allocations: 287.9 kB / 0.5939 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.612e-05/0.511, allocations: 18.95 kB / 0.5939 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000944/0.5119, allocations: 154.5 kB / 0.5941 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.611e-05/0.512, allocations: 50.17 kB / 0.5941 GB, free: 32.81 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.0003747/0.5124, allocations: 255.5 kB / 0.5944 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002359/0.5126, allocations: 77.38 kB / 0.5945 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002677/0.5153, allocations: 1.029 MB / 0.5955 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.5153, allocations: 14.19 kB / 0.5955 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.5153, allocations: 3.25 kB / 0.5955 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.5154, allocations: 6.219 kB / 0.5955 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004863/0.5202, allocations: 2.313 MB / 0.5977 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.5202, allocations: 1.5 kB / 0.5977 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.5213, allocations: 223.4 kB / 0.598 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/0.5214, allocations: 30.53 kB / 0.598 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.977e-05/0.5214, allocations: 24.97 kB / 0.598 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.5214, allocations: 6.656 kB / 0.598 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5214, allocations: 2.141 kB / 0.598 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003619/0.5251, allocations: 1.837 MB / 0.5998 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002559/0.5253, allocations: 166.2 kB / 0.6 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.5254, allocations: 18.17 kB / 0.6 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008336/0.5263, allocations: 64.16 kB / 0.6001 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001973/0.5265, allocations: 72.98 kB / 0.6001 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-05/0.5265, allocations: 35.83 kB / 0.6002 GB, free: 30.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005875/0.5271, allocations: 398.1 kB / 0.6005 GB, free: 30.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5271, allocations: 0 / 0.6005 GB, free: 30.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001306/0.5284, allocations: 302.3 kB / 0.6008 GB, free: 30.29 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.003865/0.5323, allocations: 2.436 MB / 0.6032 GB, free: 28.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002807/0.5351, allocations: 0.9856 MB / 0.6042 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.5351, allocations: 0.5 kB / 0.6042 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.5363, allocations: 0.5053 MB / 0.6047 GB, free: 28.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.5374, allocations: 103.9 kB / 0.6048 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/0.55, allocations: 7.868 MB / 0.6124 GB, free: 23.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006589/0.5506, allocations: 0.9849 MB / 0.6134 GB, free: 22.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005677/0.5512, allocations: 142.2 kB / 0.6135 GB, free: 22.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004813/0.5517, allocations: 370.5 kB / 0.6139 GB, free: 22.35 MB / 446.1 MB Notification: Performance of SimCode: time 8.71e-07/0.5517, allocations: 0 / 0.6139 GB, free: 22.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0492/0.6009, allocations: 17.66 MB / 0.6311 GB, free: 12.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.08, allocations: 10.19 kB / 0.6311 GB, free: 12.67 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.503253906033933]