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.001778/0.001778, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002958/0.002958, allocations: 203.4 kB / 23.73 MB, free: 4.379 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.416/1.416, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2351/0.2351, allocations: 46.96 MB / 360.9 MB, free: 4.016 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.002008/0.002008, allocations: 67.91 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3306, allocations: 66.04 MB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.00792/0.3386, allocations: 5.783 MB / 0.5662 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004525/0.3431, allocations: 2.134 MB / 0.5683 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005906/0.3437, allocations: 24 kB / 0.5683 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003505/0.3472, allocations: 1.408 MB / 0.5697 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.3495, allocations: 0.6991 MB / 0.5704 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.351, allocations: 0.5867 MB / 0.571 GB, free: 9.535 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001574/0.3526, allocations: 1.178 MB / 0.5721 GB, free: 8.352 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.3539, allocations: 0.8597 MB / 0.573 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007119/0.3546, allocations: 0.5137 MB / 0.5735 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007719/0.3554, allocations: 0.6186 MB / 0.5741 GB, free: 6.328 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.3556, allocations: 108 kB / 0.5742 GB, free: 6.223 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006498/0.3562, allocations: 283.8 kB / 0.5744 GB, free: 5.945 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002402/0.3564, allocations: 263 kB / 0.5747 GB, free: 5.688 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005158/0.357, allocations: 465.8 kB / 0.5751 GB, free: 5.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.359, allocations: 1.533 MB / 0.5766 GB, free: 3.691 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.359, allocations: 0 / 0.5766 GB, free: 3.691 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.359, allocations: 0 / 0.5766 GB, free: 3.691 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.3591, allocations: 0 / 0.5766 GB, free: 3.691 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.004478/0.3635, allocations: 1.608 MB / 0.5782 GB, free: 2.047 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.3636, allocations: 8.031 kB / 0.5782 GB, free: 2.039 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002782/0.3639, allocations: 191.9 kB / 0.5784 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008447/0.3723, allocations: 1.124 MB / 0.5795 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.3735, allocations: 484.3 kB / 0.58 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.616e-05/0.3736, allocations: 86.73 kB / 0.58 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/0.3738, allocations: 120.3 kB / 0.5802 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002792/0.3766, allocations: 1.472 MB / 0.5816 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.788e-05/0.3766, allocations: 3.938 kB / 0.5816 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/0.3767, allocations: 48 kB / 0.5816 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/0.3767, allocations: 28 kB / 0.5817 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003011/0.3798, allocations: 1.421 MB / 0.5831 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007277/0.387, allocations: 3.718 MB / 0.5867 GB, free: 9.117 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002879/0.3899, allocations: 0.9995 MB / 0.5877 GB, free: 8.066 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008646/0.3908, allocations: 381 kB / 0.588 GB, free: 7.676 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.3909, allocations: 35.91 kB / 0.5881 GB, free: 7.641 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/0.3909, allocations: 58.45 kB / 0.5881 GB, free: 7.574 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.895e-06/0.3909, allocations: 0 / 0.5881 GB, free: 7.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.00317/0.3941, allocations: 1.165 MB / 0.5893 GB, free: 6.406 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001618/0.3943, allocations: 251.3 kB / 0.5895 GB, free: 6.105 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007238/0.395, allocations: 0.5838 MB / 0.5901 GB, free: 5.512 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.538e-05/0.3951, allocations: 45.64 kB / 0.5901 GB, free: 5.461 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003499/0.3954, allocations: 480.2 kB / 0.5906 GB, free: 4.984 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003017/0.3957, allocations: 305.4 kB / 0.5909 GB, free: 4.684 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003216/0.396, allocations: 194.9 kB / 0.591 GB, free: 4.484 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.3962, allocations: 374.8 kB / 0.5914 GB, free: 4.109 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009228/0.3972, allocations: 386.4 kB / 0.5918 GB, free: 3.734 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.3984, allocations: 0.7104 MB / 0.5925 GB, free: 2.887 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002063/0.4004, allocations: 1.062 MB / 0.5935 GB, free: 1.715 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.4004, allocations: 4 kB / 0.5935 GB, free: 1.711 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002704/0.4031, allocations: 1.199 MB / 0.5947 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.4032, allocations: 11.94 kB / 0.5947 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.4032, allocations: 8.031 kB / 0.5947 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000165/0.4033, allocations: 36.84 kB / 0.5947 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.4046, allocations: 291.5 kB / 0.595 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.688e-05/0.4046, allocations: 19.94 kB / 0.595 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009427/0.4056, allocations: 159 kB / 0.5952 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.119e-05/0.4057, allocations: 51.97 kB / 0.5952 GB, free: 15.93 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.0004032/0.4061, allocations: 253.5 kB / 0.5955 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/0.4063, allocations: 75.52 kB / 0.5955 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002491/0.4088, allocations: 1.019 MB / 0.5965 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.4088, allocations: 12 kB / 0.5965 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.4088, allocations: 0 / 0.5965 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.4088, allocations: 11.97 kB / 0.5966 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004337/0.4132, allocations: 2.146 MB / 0.5987 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.4132, allocations: 0 / 0.5987 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.4142, allocations: 219.7 kB / 0.5989 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001196/0.4143, allocations: 28.84 kB / 0.5989 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-05/0.4144, allocations: 23.98 kB / 0.5989 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.4144, allocations: 4 kB / 0.5989 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.4144, allocations: 7.922 kB / 0.5989 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003479/0.4179, allocations: 1.838 MB / 0.6007 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/0.4181, allocations: 79.38 kB / 0.6008 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.4182, allocations: 31.83 kB / 0.6008 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008323/0.4191, allocations: 59.94 kB / 0.6009 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.4192, allocations: 75.8 kB / 0.601 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.405e-05/0.4193, allocations: 39.98 kB / 0.601 GB, free: 9.938 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005003/0.4198, allocations: 394.8 kB / 0.6014 GB, free: 9.555 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4198, allocations: 0 / 0.6014 GB, free: 9.555 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001097/0.4209, allocations: 295.4 kB / 0.6017 GB, free: 9.266 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.004091/0.425, allocations: 2.436 MB / 0.604 GB, free: 6.797 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002386/0.4274, allocations: 0.9212 MB / 0.6049 GB, free: 5.871 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4274, allocations: 0 / 0.6049 GB, free: 5.871 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.4284, allocations: 441.4 kB / 0.6054 GB, free: 5.438 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.4295, allocations: 104.6 kB / 0.6055 GB, free: 5.336 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/0.4429, allocations: 7.864 MB / 0.6131 GB, free: 13.13 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004715/0.4434, allocations: 394 kB / 0.6135 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005593/0.444, allocations: 138.2 kB / 0.6136 GB, free: 12.57 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005853/0.4446, allocations: 367.3 kB / 0.614 GB, free: 12.21 MB / 462.1 MB Notification: Performance of SimCode: time 1.463e-06/0.4446, allocations: 4 kB / 0.614 GB, free: 12.21 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05472/0.4993, allocations: 19.22 MB / 0.6328 GB, free: 9.207 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.24, allocations: 10.92 kB / 0.6328 GB, free: 9.199 MB / 478.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.39504182501696]