Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001395, allocations: 117.2 kB / 18.45 MB, free: 4.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001491/0.001491, allocations: 205.8 kB / 21.39 MB, free: 1.77 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.5 MB / 251.7 MB, free: 248 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.224/0.224, allocations: 46.14 MB / 351.1 MB, free: 14.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 83.84 kB / 489.7 MB, free: 28.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1122, allocations: 62.45 MB / 0.5392 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01172/0.124, allocations: 9.432 MB / 0.5484 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006545/0.1306, allocations: 2.831 MB / 0.5512 GB, free: 8.453 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001884/0.1326, allocations: 75.75 kB / 0.5512 GB, free: 8.379 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008747/0.1413, allocations: 3.742 MB / 0.5549 GB, free: 4.629 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004105/0.1455, allocations: 1.044 MB / 0.5559 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.1481, allocations: 0.7902 MB / 0.5567 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00698/0.1551, allocations: 4.84 MB / 0.5614 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01899/0.1741, allocations: 11.99 MB / 0.5731 GB, free: 1.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005047/0.1792, allocations: 2.798 MB / 0.5759 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005934/0.1852, allocations: 3.107 MB / 0.5789 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002769/0.188, allocations: 0.7695 MB / 0.5796 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004551/0.1926, allocations: 0.9334 MB / 0.5806 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003481/0.1961, allocations: 1.598 MB / 0.5821 GB, free: 8.594 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006678/0.2028, allocations: 3.012 MB / 0.5851 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01317/0.216, allocations: 10.49 MB / 0.5953 GB, free: 11.05 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2161, allocations: 4 kB / 0.5953 GB, free: 11.05 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2161, allocations: 4 kB / 0.5953 GB, free: 11.04 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002596/0.2163, allocations: 0 / 0.5953 GB, free: 11.04 MB / 462.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.0189/0.2352, allocations: 6.415 MB / 0.6016 GB, free: 4.555 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.2353, allocations: 8.031 kB / 0.6016 GB, free: 4.547 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003045/0.2384, allocations: 0.8882 MB / 0.6024 GB, free: 3.648 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2988/0.5372, allocations: 3.925 MB / 0.6063 GB, free: 52.54 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007419/0.5447, allocations: 3.245 MB / 0.6094 GB, free: 51.92 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006913/0.5454, allocations: 386.9 kB / 0.6098 GB, free: 51.75 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003404/0.5488, allocations: 0.5005 MB / 0.6103 GB, free: 51.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02761/0.5765, allocations: 8.725 MB / 0.6188 GB, free: 48.3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000319/0.5768, allocations: 11.3 kB / 0.6188 GB, free: 48.3 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001963/0.5788, allocations: 215.2 kB / 0.619 GB, free: 48.14 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006162/0.5794, allocations: 341.8 kB / 0.6194 GB, free: 48.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02237/0.6018, allocations: 8.058 MB / 0.6272 GB, free: 45.27 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04512/0.647, allocations: 27.83 MB / 0.6544 GB, free: 22.03 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01165/0.6587, allocations: 10.2 MB / 0.6644 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002784/0.6615, allocations: 1.601 MB / 0.6659 GB, free: 9.012 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002919/0.6619, allocations: 227.1 kB / 0.6662 GB, free: 8.77 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.832e-05/0.6619, allocations: 56.56 kB / 0.6662 GB, free: 8.707 MB / 462.1 MB Notification: Performance of pre-optimization done (n=214): time 4.268e-06/0.662, allocations: 0 / 0.6662 GB, free: 8.707 MB / 462.1 MB Notification: Performance of matching and sorting (n=214): time 0.005825/0.6678, allocations: 3.533 MB / 0.6697 GB, free: 5.172 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.6679, allocations: 99.11 kB / 0.6698 GB, free: 5.055 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005307/0.6732, allocations: 3.43 MB / 0.6731 GB, free: 1.637 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002987/0.6735, allocations: 61.7 kB / 0.6732 GB, free: 1.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001499/0.675, allocations: 2.235 MB / 0.6753 GB, free: 15.34 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001181/0.6762, allocations: 0.7787 MB / 0.6761 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001804/0.678, allocations: 0.7043 MB / 0.6768 GB, free: 13.86 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.6782, allocations: 305.1 kB / 0.6771 GB, free: 13.56 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002893/0.6811, allocations: 1.568 MB / 0.6786 GB, free: 11.99 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004393/0.6855, allocations: 3.189 MB / 0.6817 GB, free: 8.035 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007462/0.693, allocations: 5.083 MB / 0.6867 GB, free: 2.172 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.343e-05/0.6931, allocations: 16 kB / 0.6867 GB, free: 2.156 MB / 478.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.01026/0.7034, allocations: 4.956 MB / 0.6915 GB, free: 13.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.354e-05/0.7035, allocations: 28 kB / 0.6916 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/0.7036, allocations: 56 kB / 0.6916 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001076/0.7037, allocations: 79.94 kB / 0.6917 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003686/0.7074, allocations: 0.9286 MB / 0.6926 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001735/0.7076, allocations: 111.6 kB / 0.6927 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003746/0.7113, allocations: 0.5663 MB / 0.6933 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006246/0.712, allocations: 192 kB / 0.6935 GB, free: 11.24 MB / 494.1 MB 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 (442): * Single equations (assignments): 442 * 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.004886/0.7169, allocations: 2.089 MB / 0.6955 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007921/0.7177, allocations: 278.2 kB / 0.6958 GB, free: 8.863 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007162/0.7249, allocations: 3.187 MB / 0.6989 GB, free: 5.648 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.913e-05/0.7249, allocations: 23.98 kB / 0.6989 GB, free: 5.625 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/0.7249, allocations: 4 kB / 0.6989 GB, free: 5.621 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.536e-05/0.725, allocations: 7.969 kB / 0.6989 GB, free: 5.613 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01907/0.7441, allocations: 8.666 MB / 0.7074 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.001e-05/0.7442, allocations: 17 kB / 0.7074 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0023/0.7465, allocations: 0.5617 MB / 0.7079 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.736e-05/0.7465, allocations: 28 kB / 0.708 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002868/0.7468, allocations: 79.97 kB / 0.708 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.734e-05/0.7469, allocations: 39.86 kB / 0.7081 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.251e-05/0.7469, allocations: 23.88 kB / 0.7081 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008732/0.7557, allocations: 5.268 MB / 0.7132 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001672/0.7574, allocations: 0.7054 MB / 0.7139 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006738/0.7581, allocations: 71.98 kB / 0.714 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/0.7595, allocations: 127.9 kB / 0.7141 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003639/0.7599, allocations: 213.4 kB / 0.7143 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/0.7601, allocations: 99.92 kB / 0.7144 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004128/0.7642, allocations: 2.388 MB / 0.7168 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7642, allocations: 0 / 0.7168 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004208/0.7684, allocations: 1.114 MB / 0.7178 GB, free: 1.633 MB / 0.4981 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 (275): * Single equations (assignments): 275 * 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.008523/0.777, allocations: 5.936 MB / 0.7236 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006152/0.7832, allocations: 3.585 MB / 0.7271 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/0.7832, allocations: 4 kB / 0.7271 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002625/0.7858, allocations: 1.565 MB / 0.7287 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003059/0.7889, allocations: 0.5336 MB / 0.7292 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06646/0.8554, allocations: 37.68 MB / 0.766 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005029/0.8605, allocations: 3.64 MB / 0.7695 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00336/0.8639, allocations: 1.472 MB / 0.771 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002493/0.8664, allocations: 1.643 MB / 0.7726 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of SimCode: time 2.805e-06/0.8664, allocations: 0 / 0.7726 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4177/1.284, allocations: 73.28 MB / 0.8442 GB, free: 196.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.6, allocations: 12.64 kB / 0.8442 GB, free: 196.5 MB / 0.6231 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 18.794145080959424]