Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.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.001585/0.001585, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.001679/0.001679, allocations: 219 kB / 21.46 MB, free: 1.605 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.538/1.538, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.2293/0.2293, allocations: 46.93 MB / 357.8 MB, free: 10.32 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.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 55.91 kB / 0.4916 GB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1343, allocations: 65.99 MB / 0.556 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.0127/0.147, allocations: 9.469 MB / 0.5653 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00708/0.1541, allocations: 2.85 MB / 0.5681 GB, free: 9.484 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002203/0.1563, allocations: 87.56 kB / 0.5682 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009308/0.1656, allocations: 3.78 MB / 0.5719 GB, free: 5.609 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004273/0.1699, allocations: 1.069 MB / 0.5729 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.1722, allocations: 0.78 MB / 0.5737 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006994/0.1792, allocations: 4.847 MB / 0.5784 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01431/0.1935, allocations: 9.334 MB / 0.5875 GB, free: 5.438 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004787/0.1983, allocations: 2.852 MB / 0.5903 GB, free: 2.578 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2953/0.4936, allocations: 3.14 MB / 0.5934 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002093/0.4957, allocations: 0.7652 MB / 0.5941 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002797/0.4985, allocations: 0.9363 MB / 0.595 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002121/0.5006, allocations: 1.604 MB / 0.5966 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007295/0.5079, allocations: 3.018 MB / 0.5995 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0149/0.5228, allocations: 10.48 MB / 0.6098 GB, free: 10.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.5228, allocations: 0.5625 kB / 0.6098 GB, free: 10.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5228, allocations: 0 / 0.6098 GB, free: 10.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003312/0.5232, allocations: 0.5938 kB / 0.6098 GB, free: 10.96 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.02467/0.5478, allocations: 6.422 MB / 0.616 GB, free: 7.504 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.5479, allocations: 10.06 kB / 0.6161 GB, free: 7.504 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003306/0.5482, allocations: 168.9 kB / 0.6162 GB, free: 7.465 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004183/0.5524, allocations: 0.8876 MB / 0.6171 GB, free: 6.906 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02375/0.5761, allocations: 3.932 MB / 0.6209 GB, free: 5.156 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007094/0.5832, allocations: 3.246 MB / 0.6241 GB, free: 3.082 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004934/0.5837, allocations: 393.3 kB / 0.6245 GB, free: 2.914 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002589/0.5863, allocations: 0.5153 MB / 0.625 GB, free: 2.742 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02425/0.6106, allocations: 8.746 MB / 0.6335 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002297/0.6108, allocations: 12.7 kB / 0.6335 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002187/0.613, allocations: 211.2 kB / 0.6337 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000395/0.6134, allocations: 340.2 kB / 0.634 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01904/0.6324, allocations: 8.073 MB / 0.6419 GB, free: 7.527 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05414/0.6866, allocations: 27.9 MB / 0.6692 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01549/0.7021, allocations: 10.18 MB / 0.6791 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003271/0.7053, allocations: 1.53 MB / 0.6806 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003613/0.7057, allocations: 232.6 kB / 0.6808 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.045e-05/0.7058, allocations: 59.31 kB / 0.6809 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=226): time 4.809e-06/0.7058, allocations: 0 / 0.6809 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=248): time 0.02218/0.7279, allocations: 9.429 MB / 0.6901 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.157e-05/0.728, allocations: 111.4 kB / 0.6902 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005506/0.7335, allocations: 3.427 MB / 0.6936 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000371/0.7339, allocations: 65.7 kB / 0.6936 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001832/0.7357, allocations: 2.227 MB / 0.6958 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001124/0.7368, allocations: 0.8956 MB / 0.6967 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001315/0.7382, allocations: 0.7547 MB / 0.6974 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.7383, allocations: 301.1 kB / 0.6977 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003404/0.7417, allocations: 1.807 MB / 0.6995 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004923/0.7466, allocations: 3.445 MB / 0.7028 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008658/0.7553, allocations: 5.583 MB / 0.7083 GB, free: 352 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.435e-05/0.7553, allocations: 16 kB / 0.7083 GB, free: 336 kB / 0.5137 GB Notification: Performance of matching and sorting (n=476) (initialization): time 0.01143/0.7668, allocations: 5.495 MB / 0.7137 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.429e-05/0.7668, allocations: 28.22 kB / 0.7137 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.814e-05/0.7669, allocations: 60.75 kB / 0.7137 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.196e-05/0.767, allocations: 76 kB / 0.7138 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004123/0.7711, allocations: 1.06 MB / 0.7148 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001174/0.7712, allocations: 113.7 kB / 0.715 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002979/0.7742, allocations: 271.6 kB / 0.7152 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003663/0.7746, allocations: 212 kB / 0.7154 GB, free: 9.445 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 252 * 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 (476): * Single equations (assignments): 476 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004239/0.7788, allocations: 2.109 MB / 0.7175 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006624/0.7795, allocations: 286.1 kB / 0.7177 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007619/0.7871, allocations: 3.795 MB / 0.7215 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.821e-05/0.7871, allocations: 28 kB / 0.7215 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.7871, allocations: 0 / 0.7215 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.519e-05/0.7872, allocations: 11.95 kB / 0.7215 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01817/0.8053, allocations: 9.567 MB / 0.7308 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.748e-05/0.8054, allocations: 16 kB / 0.7309 GB, free: 9.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003006/0.8084, allocations: 0.7037 MB / 0.7315 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.07e-05/0.8084, allocations: 36.16 kB / 0.7316 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002033/0.8086, allocations: 91.97 kB / 0.7317 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-05/0.8086, allocations: 39.2 kB / 0.7317 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.597e-05/0.8087, allocations: 23.5 kB / 0.7317 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01141/0.8201, allocations: 6.241 MB / 0.7378 GB, free: 2.145 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002454/0.8225, allocations: 0.7176 MB / 0.7385 GB, free: 1.406 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000702/0.8232, allocations: 79.92 kB / 0.7386 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001877/0.8251, allocations: 163.9 kB / 0.7387 GB, free: 1.168 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004859/0.8256, allocations: 240.4 kB / 0.739 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002073/0.8258, allocations: 112 kB / 0.7391 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006345/0.8321, allocations: 2.386 MB / 0.7414 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8321, allocations: 0 / 0.7414 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006878/0.839, allocations: 0.8905 MB / 0.7423 GB, free: 13.55 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 2 (currentSource.currentSource.plug_p.reference.gamma,voltageSource.voltageSource.plug_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 (309): * Single equations (assignments): 309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01158/0.8506, allocations: 6.924 MB / 0.749 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008103/0.8587, allocations: 4.018 MB / 0.753 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-05/0.8587, allocations: 0 / 0.753 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00363/0.8623, allocations: 1.766 MB / 0.7547 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003911/0.8663, allocations: 0.5416 MB / 0.7552 GB, free: 292 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08154/0.9478, allocations: 39.79 MB / 0.7941 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005245/0.953, allocations: 3.685 MB / 0.7977 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004368/0.9574, allocations: 1.587 MB / 0.7992 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003962/0.9614, allocations: 1.711 MB / 0.8009 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of SimCode: time 1.502e-06/0.9614, allocations: 0 / 0.8009 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.439/1.4, allocations: 78.37 MB / 0.8774 GB, free: 202.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/15.89, allocations: 4.406 kB / 0.8774 GB, free: 202.8 MB / 0.6387 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 21.621109218976926]