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.001345/0.001345, allocations: 105.1 kB / 21.22 MB, free: 0.6523 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.001446/0.001446, allocations: 211.8 kB / 24.51 MB, free: 3.973 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.552/1.552, allocations: 230.6 MB / 258.3 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.2412/0.2412, allocations: 46.96 MB / 361.7 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] 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.002021/0.002021, allocations: 67.91 kB / 0.4969 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.365, allocations: 66.02 MB / 0.5614 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008367/0.3733, allocations: 5.779 MB / 0.567 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004421/0.3778, allocations: 2.127 MB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004385/0.3782, allocations: 16 kB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003351/0.3816, allocations: 1.407 MB / 0.5705 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001899/0.3835, allocations: 0.7146 MB / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.3848, allocations: 0.5645 MB / 0.5717 GB, free: 9.598 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.3862, allocations: 1.174 MB / 0.5729 GB, free: 8.418 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.3875, allocations: 0.8675 MB / 0.5737 GB, free: 7.523 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006722/0.3882, allocations: 0.5176 MB / 0.5742 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007207/0.3889, allocations: 0.6186 MB / 0.5748 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001932/0.3891, allocations: 108 kB / 0.5749 GB, free: 6.277 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006224/0.3897, allocations: 283.8 kB / 0.5752 GB, free: 6 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002274/0.3899, allocations: 259 kB / 0.5754 GB, free: 5.746 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004737/0.3904, allocations: 469.7 kB / 0.5759 GB, free: 5.285 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.3921, allocations: 1.533 MB / 0.5774 GB, free: 3.746 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3922, allocations: 4 kB / 0.5774 GB, free: 3.742 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3922, allocations: 4 kB / 0.5774 GB, free: 3.738 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.658e-05/0.3922, allocations: 0 / 0.5774 GB, free: 3.738 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.004602/0.3968, allocations: 1.608 MB / 0.579 GB, free: 2.094 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.3968, allocations: 8.031 kB / 0.579 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.509e-05/0.3969, allocations: 33.8 kB / 0.579 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002695/0.3972, allocations: 192 kB / 0.5792 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008545/0.4057, allocations: 1.128 MB / 0.5803 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.4069, allocations: 488.3 kB / 0.5807 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.409e-05/0.407, allocations: 90.77 kB / 0.5808 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002167/0.4072, allocations: 116.4 kB / 0.5809 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002923/0.4101, allocations: 1.484 MB / 0.5824 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.678e-05/0.4102, allocations: 7.953 kB / 0.5824 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.4103, allocations: 51.94 kB / 0.5825 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-05/0.4103, allocations: 35.98 kB / 0.5825 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003033/0.4134, allocations: 1.44 MB / 0.5839 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007771/0.4211, allocations: 3.785 MB / 0.5876 GB, free: 9.008 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003017/0.4242, allocations: 1.066 MB / 0.5886 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001/0.4252, allocations: 406.8 kB / 0.589 GB, free: 7.477 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.4253, allocations: 31.97 kB / 0.589 GB, free: 7.445 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.585e-05/0.4253, allocations: 55.38 kB / 0.5891 GB, free: 7.383 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.156e-06/0.4253, allocations: 0 / 0.5891 GB, free: 7.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=116): time 0.01369/0.439, allocations: 4.272 MB / 0.5933 GB, free: 3.059 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001719/0.4392, allocations: 243.3 kB / 0.5935 GB, free: 2.766 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007397/0.4399, allocations: 0.5644 MB / 0.5941 GB, free: 2.191 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.44, allocations: 49.7 kB / 0.5941 GB, free: 2.137 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.4404, allocations: 472.6 kB / 0.5946 GB, free: 1.668 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/0.4407, allocations: 424.4 kB / 0.595 GB, free: 1.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004384/0.4412, allocations: 242.8 kB / 0.5952 GB, free: 1.004 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.4414, allocations: 386.8 kB / 0.5956 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001767/0.4431, allocations: 0.6075 MB / 0.5962 GB, free: 12 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002063/0.4452, allocations: 0.9647 MB / 0.5971 GB, free: 14.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003815/0.449, allocations: 1.538 MB / 0.5986 GB, free: 13.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.449, allocations: 4 kB / 0.5986 GB, free: 13.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004778/0.4538, allocations: 1.756 MB / 0.6003 GB, free: 11.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/0.4538, allocations: 12 kB / 0.6003 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.4539, allocations: 12.03 kB / 0.6003 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002912/0.4542, allocations: 69.66 kB / 0.6004 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/0.4561, allocations: 431.3 kB / 0.6008 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.821e-05/0.4562, allocations: 19.92 kB / 0.6008 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.4576, allocations: 131.9 kB / 0.601 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.4577, allocations: 67.95 kB / 0.601 GB, free: 10.75 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.0005592/0.4583, allocations: 278.1 kB / 0.6013 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/0.4586, allocations: 87.42 kB / 0.6014 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004611/0.4632, allocations: 1.621 MB / 0.603 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/0.4632, allocations: 16 kB / 0.603 GB, free: 8.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/0.4632, allocations: 3.938 kB / 0.603 GB, free: 8.727 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.145e-05/0.4632, allocations: 11.97 kB / 0.603 GB, free: 8.715 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006965/0.4702, allocations: 2.91 MB / 0.6058 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/0.4702, allocations: 0 / 0.6058 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/0.472, allocations: 359.5 kB / 0.6062 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002367/0.4722, allocations: 61.66 kB / 0.6062 GB, free: 5.328 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-05/0.4723, allocations: 35.97 kB / 0.6063 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/0.4723, allocations: 4 kB / 0.6063 GB, free: 5.289 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4723, allocations: 8 kB / 0.6063 GB, free: 5.281 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006304/0.4786, allocations: 2.715 MB / 0.6089 GB, free: 2.547 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/0.4789, allocations: 87.48 kB / 0.609 GB, free: 2.461 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.479, allocations: 24 kB / 0.609 GB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/0.4803, allocations: 127.8 kB / 0.6092 GB, free: 2.312 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002487/0.4806, allocations: 103.8 kB / 0.6093 GB, free: 2.211 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.4807, allocations: 43.95 kB / 0.6093 GB, free: 2.168 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005137/0.4812, allocations: 394.9 kB / 0.6097 GB, free: 1.781 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4812, allocations: 4 kB / 0.6097 GB, free: 1.777 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001165/0.4823, allocations: 288 kB / 0.61 GB, free: 1.496 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 (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.006789/0.4891, allocations: 3.331 MB / 0.6132 GB, free: 14.13 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004317/0.4935, allocations: 1.446 MB / 0.6146 GB, free: 12.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.4935, allocations: 4 kB / 0.6146 GB, free: 12.67 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00222/0.4957, allocations: 0.7293 MB / 0.6153 GB, free: 11.94 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.4969, allocations: 119 kB / 0.6154 GB, free: 11.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02163/0.5185, allocations: 9.771 MB / 0.625 GB, free: 1.656 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.519, allocations: 434.4 kB / 0.6254 GB, free: 1.203 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000804/0.5198, allocations: 175.3 kB / 0.6256 GB, free: 1.027 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007783/0.5206, allocations: 435.2 kB / 0.626 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of SimCode: time 1.653e-06/0.5206, allocations: 0 / 0.626 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05435/0.575, allocations: 22.93 MB / 0.6484 GB, free: 9.969 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.94/19.52, allocations: 13.55 kB / 0.6484 GB, free: 9.961 MB / 494.1 MB " [Timeout remaining time 640] (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: 23.252817565924488]