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.001894/0.001894, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002455/0.002455, allocations: 212.3 kB / 24.53 MB, free: 4.07 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.514/1.514, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.2346/0.2346, allocations: 46.93 MB / 361.6 MB, free: 4.359 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002928/0.002928, allocations: 67.91 kB / 0.4969 GB, free: 7.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3475, allocations: 66.03 MB / 0.5614 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.009837/0.3573, allocations: 6.596 MB / 0.5679 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005277/0.3626, allocations: 2.286 MB / 0.5701 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007952/0.3634, allocations: 20 kB / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003715/0.3671, allocations: 1.536 MB / 0.5716 GB, free: 9.996 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002488/0.3696, allocations: 0.7108 MB / 0.5723 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.3711, allocations: 0.5999 MB / 0.5729 GB, free: 8.688 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001551/0.3726, allocations: 1.182 MB / 0.574 GB, free: 7.504 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.374, allocations: 0.8636 MB / 0.5749 GB, free: 6.613 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007692/0.3748, allocations: 0.5137 MB / 0.5754 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008129/0.3756, allocations: 0.6187 MB / 0.576 GB, free: 5.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.3758, allocations: 104 kB / 0.5761 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007141/0.3765, allocations: 295.8 kB / 0.5764 GB, free: 5.086 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002616/0.3767, allocations: 263 kB / 0.5766 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005774/0.3773, allocations: 0.5558 MB / 0.5772 GB, free: 4.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.3792, allocations: 1.518 MB / 0.5787 GB, free: 2.746 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/0.3792, allocations: 0 / 0.5787 GB, free: 2.746 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3792, allocations: 0 / 0.5787 GB, free: 2.746 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.3792, allocations: 0 / 0.5787 GB, free: 2.746 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.004485/0.3837, allocations: 1.616 MB / 0.5802 GB, free: 1.094 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.3838, allocations: 12.03 kB / 0.5802 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.701e-05/0.3838, allocations: 37.78 kB / 0.5803 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002596/0.3841, allocations: 184 kB / 0.5805 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008647/0.3927, allocations: 1.136 MB / 0.5816 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.3938, allocations: 496.2 kB / 0.582 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.403e-05/0.3939, allocations: 86.77 kB / 0.5821 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/0.3941, allocations: 116.4 kB / 0.5822 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002715/0.3968, allocations: 1.376 MB / 0.5836 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/0.3969, allocations: 7.953 kB / 0.5836 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.397, allocations: 48 kB / 0.5836 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/0.397, allocations: 35.94 kB / 0.5837 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003112/0.4001, allocations: 1.444 MB / 0.5851 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007619/0.4078, allocations: 4.112 MB / 0.5891 GB, free: 7.801 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003203/0.411, allocations: 1.088 MB / 0.5901 GB, free: 6.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009738/0.4119, allocations: 412.9 kB / 0.5905 GB, free: 6.238 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.4121, allocations: 35.95 kB / 0.5906 GB, free: 6.203 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.545e-05/0.4121, allocations: 47.38 kB / 0.5906 GB, free: 6.148 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.765e-06/0.4121, allocations: 0 / 0.5906 GB, free: 6.148 MB / 430.1 MB Notification: Performance of matching and sorting (n=116): time 0.01377/0.4259, allocations: 4.273 MB / 0.5948 GB, free: 1.824 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001919/0.4261, allocations: 255.3 kB / 0.595 GB, free: 1.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000805/0.4269, allocations: 0.5644 MB / 0.5956 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.427, allocations: 45.7 kB / 0.5956 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003462/0.4274, allocations: 472.6 kB / 0.5961 GB, free: 436 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003801/0.4277, allocations: 420.4 kB / 0.5965 GB, free: 12 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004519/0.4282, allocations: 242.8 kB / 0.5967 GB, free: 15.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002234/0.4284, allocations: 382.8 kB / 0.5971 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/0.4304, allocations: 0.6076 MB / 0.5977 GB, free: 14.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/0.4326, allocations: 0.9067 MB / 0.5986 GB, free: 13.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004123/0.4367, allocations: 1.546 MB / 0.6001 GB, free: 12.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.4367, allocations: 4 kB / 0.6001 GB, free: 12.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.005105/0.4418, allocations: 1.756 MB / 0.6018 GB, free: 10.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/0.4419, allocations: 16.08 kB / 0.6018 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/0.4419, allocations: 8 kB / 0.6018 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002956/0.4422, allocations: 69.67 kB / 0.6019 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/0.4442, allocations: 427.3 kB / 0.6023 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.037e-05/0.4442, allocations: 15.94 kB / 0.6023 GB, free: 9.777 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.4456, allocations: 143.8 kB / 0.6024 GB, free: 9.637 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.4457, allocations: 63.95 kB / 0.6025 GB, free: 9.574 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 (160): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000508/0.4462, allocations: 282.1 kB / 0.6028 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002786/0.4465, allocations: 83.48 kB / 0.6028 GB, free: 9.207 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004722/0.4512, allocations: 1.621 MB / 0.6044 GB, free: 7.574 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.4512, allocations: 16 kB / 0.6044 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.4512, allocations: 7.938 kB / 0.6045 GB, free: 7.551 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/0.4513, allocations: 11.97 kB / 0.6045 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007227/0.4585, allocations: 3.121 MB / 0.6075 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.4585, allocations: 4 kB / 0.6075 GB, free: 4.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/0.4602, allocations: 355.5 kB / 0.6079 GB, free: 4.008 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002304/0.4605, allocations: 65.59 kB / 0.6079 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-05/0.4606, allocations: 35.97 kB / 0.608 GB, free: 3.902 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/0.4606, allocations: 8 kB / 0.608 GB, free: 3.895 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.4606, allocations: 8 kB / 0.608 GB, free: 3.887 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006509/0.4671, allocations: 2.715 MB / 0.6106 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/0.4673, allocations: 83.48 kB / 0.6107 GB, free: 1.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/0.4675, allocations: 24 kB / 0.6107 GB, free: 1.047 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.4689, allocations: 127.8 kB / 0.6108 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/0.4691, allocations: 103.8 kB / 0.6109 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-05/0.4692, allocations: 43.95 kB / 0.611 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005285/0.4697, allocations: 398.9 kB / 0.6114 GB, free: 396 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4697, allocations: 4 kB / 0.6114 GB, free: 392 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001244/0.471, allocations: 288 kB / 0.6116 GB, free: 104 kB / 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 (124): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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.007372/0.4783, allocations: 3.321 MB / 0.6149 GB, free: 12.74 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004601/0.4829, allocations: 1.446 MB / 0.6163 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.4829, allocations: 0 / 0.6163 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002356/0.4853, allocations: 0.7332 MB / 0.617 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.4867, allocations: 122.4 kB / 0.6171 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02001/0.5067, allocations: 9.77 MB / 0.6267 GB, free: 268 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008308/0.5075, allocations: 1.018 MB / 0.6277 GB, free: 15.22 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007758/0.5083, allocations: 171.3 kB / 0.6278 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007312/0.509, allocations: 435.2 kB / 0.6282 GB, free: 14.62 MB / 478.1 MB Notification: Performance of SimCode: time 1.473e-06/0.509, allocations: 0 / 0.6282 GB, free: 14.62 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05867/0.5677, allocations: 22.23 MB / 0.65 GB, free: 8.574 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.51/19.07, allocations: 4.062 kB / 0.65 GB, free: 8.57 MB / 494.1 MB " [Timeout remaining time 641] (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: 22.792174722999334]