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.001579/0.001579, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001512/0.001512, allocations: 211 kB / 23.73 MB, free: 4.387 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.529/1.529, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2291/0.2291, allocations: 46.97 MB / 360.9 MB, free: 4.02 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.002308/0.002308, allocations: 67.89 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3393, allocations: 66.03 MB / 0.5606 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.007881/0.3471, allocations: 5.778 MB / 0.5662 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004637/0.3518, allocations: 2.134 MB / 0.5683 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004816/0.3523, allocations: 20 kB / 0.5683 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003429/0.3557, allocations: 1.404 MB / 0.5697 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.3577, allocations: 0.7144 MB / 0.5704 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.3591, allocations: 0.5715 MB / 0.571 GB, free: 9.543 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001633/0.3607, allocations: 1.174 MB / 0.5721 GB, free: 8.363 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.3622, allocations: 0.8479 MB / 0.5729 GB, free: 7.488 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000855/0.363, allocations: 0.5137 MB / 0.5734 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007/0.3637, allocations: 0.5444 MB / 0.574 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001709/0.3639, allocations: 108 kB / 0.5741 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006479/0.3646, allocations: 283.8 kB / 0.5743 GB, free: 6.043 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.3648, allocations: 263 kB / 0.5746 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004662/0.3652, allocations: 465.8 kB / 0.575 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001973/0.3672, allocations: 1.529 MB / 0.5765 GB, free: 3.793 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3672, allocations: 0 / 0.5765 GB, free: 3.793 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3672, allocations: 0 / 0.5765 GB, free: 3.793 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.933e-05/0.3672, allocations: 0 / 0.5765 GB, free: 3.793 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.004429/0.3717, allocations: 1.612 MB / 0.5781 GB, free: 2.145 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.3717, allocations: 8.031 kB / 0.5781 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000282/0.372, allocations: 187.9 kB / 0.5783 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00834/0.3803, allocations: 1.124 MB / 0.5794 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.3817, allocations: 488.3 kB / 0.5799 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.3818, allocations: 86.73 kB / 0.5799 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002269/0.382, allocations: 120.3 kB / 0.5801 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003001/0.385, allocations: 1.472 MB / 0.5815 GB, free: 14.56 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.166e-05/0.3851, allocations: 3.938 kB / 0.5815 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.3852, allocations: 48 kB / 0.5815 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.3852, allocations: 28 kB / 0.5816 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003184/0.3884, allocations: 1.421 MB / 0.583 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007832/0.3962, allocations: 3.714 MB / 0.5866 GB, free: 9.223 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002972/0.3992, allocations: 1.011 MB / 0.5876 GB, free: 8.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009509/0.4002, allocations: 386.6 kB / 0.5879 GB, free: 7.766 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.4003, allocations: 35.91 kB / 0.588 GB, free: 7.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.398e-05/0.4004, allocations: 50.47 kB / 0.588 GB, free: 7.672 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 3.276e-06/0.4004, allocations: 0 / 0.588 GB, free: 7.672 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003481/0.4038, allocations: 1.167 MB / 0.5892 GB, free: 6.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001685/0.404, allocations: 251.3 kB / 0.5894 GB, free: 6.199 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008578/0.4049, allocations: 0.5798 MB / 0.59 GB, free: 5.609 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.471e-05/0.4049, allocations: 37.7 kB / 0.59 GB, free: 5.566 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004041/0.4053, allocations: 484.2 kB / 0.5905 GB, free: 5.086 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003037/0.4057, allocations: 305.4 kB / 0.5908 GB, free: 4.785 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003239/0.406, allocations: 194.9 kB / 0.5909 GB, free: 4.586 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.4062, allocations: 374.8 kB / 0.5913 GB, free: 4.211 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009587/0.4072, allocations: 386.4 kB / 0.5917 GB, free: 3.836 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.4085, allocations: 0.7104 MB / 0.5924 GB, free: 2.988 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002198/0.4107, allocations: 1.058 MB / 0.5934 GB, free: 1.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.4107, allocations: 4 kB / 0.5934 GB, free: 1.816 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002811/0.4135, allocations: 1.21 MB / 0.5946 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.4135, allocations: 11.94 kB / 0.5946 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.4135, allocations: 8 kB / 0.5946 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001776/0.4137, allocations: 32.84 kB / 0.5946 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.4149, allocations: 291.5 kB / 0.5949 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.933e-05/0.4149, allocations: 19.94 kB / 0.5949 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009966/0.4159, allocations: 159 kB / 0.5951 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.354e-05/0.416, allocations: 47.98 kB / 0.5951 GB, free: 40 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.0005051/0.4165, allocations: 253.5 kB / 0.5954 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003141/0.4168, allocations: 75.52 kB / 0.5954 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002698/0.4195, allocations: 1.027 MB / 0.5964 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.4196, allocations: 12 kB / 0.5965 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.4196, allocations: 0 / 0.5965 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.4196, allocations: 11.97 kB / 0.5965 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004456/0.424, allocations: 2.138 MB / 0.5986 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.424, allocations: 4 kB / 0.5986 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009636/0.425, allocations: 215.7 kB / 0.5988 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000111/0.4251, allocations: 28.84 kB / 0.5988 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.058e-05/0.4252, allocations: 23.98 kB / 0.5988 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.4252, allocations: 4 kB / 0.5988 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4252, allocations: 3.938 kB / 0.5988 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003442/0.4286, allocations: 1.838 MB / 0.6006 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.4289, allocations: 95.23 kB / 0.6007 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.429, allocations: 20 kB / 0.6007 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008093/0.4298, allocations: 67.94 kB / 0.6008 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.43, allocations: 75.8 kB / 0.6009 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.016e-05/0.43, allocations: 31.98 kB / 0.6009 GB, free: 10.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005343/0.4306, allocations: 394.8 kB / 0.6013 GB, free: 9.652 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4306, allocations: 0 / 0.6013 GB, free: 9.652 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00122/0.4318, allocations: 295.4 kB / 0.6016 GB, free: 9.363 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.0043/0.4361, allocations: 2.437 MB / 0.6039 GB, free: 6.891 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002526/0.4386, allocations: 0.9173 MB / 0.6048 GB, free: 5.973 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.4386, allocations: 0 / 0.6048 GB, free: 5.973 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.4397, allocations: 444.4 kB / 0.6053 GB, free: 5.539 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.4409, allocations: 106.1 kB / 0.6054 GB, free: 5.438 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/0.4542, allocations: 7.869 MB / 0.613 GB, free: 13.22 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.4546, allocations: 398 kB / 0.6134 GB, free: 12.79 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006145/0.4552, allocations: 134.2 kB / 0.6135 GB, free: 12.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005673/0.4558, allocations: 367.3 kB / 0.6139 GB, free: 12.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.303e-06/0.4558, allocations: 4 kB / 0.6139 GB, free: 12.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0609/0.5167, allocations: 18.9 MB / 0.6324 GB, free: 9.625 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.75, allocations: 4 kB / 0.6324 GB, free: 9.621 MB / 478.1 MB " [Timeout remaining time 647] (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: 16.03540531406179]